Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


Playing timeline frames in reverse in Flash

in flash in reverse playing timeline frames

  • Please log in to reply
 

#1 SmartWeb

SmartWeb

    Senior Member

  • Designer
  • 271 posts

Posted 03 February 2013 - 11:13 PM

1.First declare a boolean variable(reverse) which can be only two values true/false.
2.Add an event listeners for mouse out, mouse over, and then enter frame events to your button instance box_01.
3.When the mouse pointer is actually on the button, the reverse variable value is set to true.
4.When mouse pointer isn’t on the button, the reverse variable value is set to false.
5.Event.ENTER_FRAME will execute the run function continuously. It will executes the run function 20 times per second if the frame rate is 20 fps.
6.The run function will continuously check the reverse value (if it’s true or false).
7.When reverse value is true, it will go to previous frame and when the reverse value is false it will go to next frame.





Also tagged with one or more of these keywords: in flash, in reverse, playing timeline frames

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users