Flash how to?

Out of context: Reply #3

  • Started
  • Last post
  • 15 Responses
  • davi-t0

    Create a function to make a MC go to _currentframe -- (ie. reverseFunction);

    Use an interval to keep repeating that until it gets to frame 1 (use if statement to check).

    var reverse_interval = setInterval(reverseFunction,fram... that can be any number just depends on how fast u want it to go back.
    Once it gets back to the first frame, you need to clear the interval.

    That's the basics on how to do it. You can tweak the hell out of it by adding a bunch of extra features (ie. to work on any event handler). The actual AS code...well...that you'll have to figure out urself. Read the Help section in Flash for the above AS snippets. Its a lot easier than u think.

View thread