A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Running in reverse...

  1. #1
    Hi,

    Is there any way to make an animation or series of frames in a movie, stop and then run backwards?

    Cheers

  2. #2
    i'll descibe it with an example, as i've just done it in a few clips...

    say you have a movie/clip that is just a 0-100% alpha fade of a word fading in. select all of those frames, go to the next frame after the last frame, paste the frames, select the newly pasted frames, and then go to Modify>Frames>Reverse. that will reverse them. then when you play it from frame 1, it fades in, and then back out.

    reversal.

    good luck.
    dub

  3. #3
    Thanks for the help (I'll remember that) but I was thinking more along the lines of allowing a button to stop an animation at any point and then reversing the whole time line (at that point)...

    Cheers

  4. #4
    Moderator RazoRmedia's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    3,016

    Smile

    set a variable (eg backwards)

    then assign the script

    if (backwards == 1) {
    gotoAndStop (_currentframe1 - 1);
    } else {
    play ();
    }

    if that doesn't work, try gotoandplay

    hope this helps, not sure if its any good or if it works

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center