Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2001
    Location
    pittsburgh
    Posts
    14

    Default

    Hi,
    I couldn't update my other message but have made some real progress. All I need to do is get this code to work. It writes frames backward from 40 to 31 and repeats until release. The only problem is that it stops on frame 39 and stays there. It looks logical to me.
    on (release) {
    stop ();
    }
    on (press) {
    if (_currentframe>30<40) {
    i--;
    }
    if (_currentframe == 30) {
    gotoAndPlay (39);
    }
    }
    on (release) {
    stop ();
    }
    Any thoughts appreciated !!
    IP

  2. #2
    Join Date
    Sep 2001
    Location
    pittsburgh
    Posts
    14

    Default

    Hi,
    I couldn't update my other message but have made some real progress. All I need to do is get this code to work. It writes frames backward from 40 to 31 and repeats until release. The only problem is that it stops on frame 39 and stays there. It looks logical to me.
    on (release) {
    stop ();
    }
    on (press) {
    if (_currentframe>30<40) {
    i--;
    }
    if (_currentframe == 30) {
    gotoAndPlay (39);
    }
    }
    on (release) {
    stop ();
    }
    Any thoughts appreciated !!
    IP

  3. #3
    Join Date
    Jan 2001
    Location
    Vancouver, BC, Canada.
    Posts
    55

    Default

    I am not sure if I got it right, but...

    How about
    "if (_currentframe>30<=40) {"

    instead of

    "if (_currentframe>30<40) {" ?

    Alex Dzhulay.
    www.linecraft.com
    IP

  4. #4

    Default

    It would be best to just have a seperate movie clip and if when released it is equal to frame 30 to play the New movie clip and set the alpha to 100% or send the clip to an empty keyframe.

    Macromeidians 1:1

    In the begining the web was dark and void, and the net was with out color or shape, Then there was a Flash and Life came to the web and vision became reality.
    Macromeidians 1:1

    In the begining the web was dark and void, and the net was with out color or shape, Then there was a Flash and Life came to the web and vision became reality.
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •