Jump to content
Search Community

Delay playing a movieclip

darngooddesign test
Moderator Tag

Recommended Posts

To delay the first one by 5 seconds and the second by 10 seconds, do:

 

AS3:

TweenLite.delayedCall(5, arrowMC.gotoAndStop, [15]);
TweenLite.delayedCall(10, arrowMC.gotoAndPlay, [1]);

 

AS2 (different because of scope issues in the AS2 language itself):

TweenLite.delayedCall(5, arrowMC.gotoAndStop, [15], arrowMC);
TweenLite.delayedCall(10, arrowMC.gotoAndPlay, [1], arrowMC);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...