Skip to main content
Participant
April 14, 2008
Question

coding assistance please

  • April 14, 2008
  • 1 reply
  • 202 views
I am trying my best to learn AS3.0. I have bit a small problem; I am loading external swf files. When the user selects an itme from the interface I would like the loaded movieclip to play and exit animation. When the exit animation has ended I would like the new movieclip to be loaded. I have tried a for loop and i'm working on currentFrame vs totalFrames but its still not right.

Any pointers would be welcome

cheers
John
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 15, 2008
you can't use for-loops or while-loops for animation: they both execute from beginning to end before any display object is updated.

you can use timer loops or ENTER_FRAME loops to do what you want.