Skip to main content
Participant
March 6, 2014
Question

Simple timeline control via actionscript

  • March 6, 2014
  • 1 reply
  • 258 views

I am looking to do the following;

when the timeline hits frame 47, play in reverse back to frame 15.
when the timeline hits frame 15 in reverse, jump to frame 48 and begin playing forward.

This should be very simple... but I haven't played in flash for over 5 years, and am very rusty.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
March 6, 2014

In frame 47 start an ENTER_FRAME event listener and have its event handler function use a conditional that checks the value of the currentFrame.   If the currentFrame is not 15, clal the prevFrame() function. If it is 15, gotoAndPlay(48)