-
if ("MovieClip is stopped")
(AS3 and Flash CS3)
This may be something simple, but i just don't know the properties I need to call on.
I have 2 buttons and a MovieClip on the main timeline. The buttons control the MC, forward or backward to stops (every 60 frames). I remove the event listeners, so the buttons can't be clicked between stops. I want to add them back only once the MC stops playing.
Is there a simple command I'm not aware of? Like an if statement.... if the MovieClip is stopped, then add event listeners? The "playing" property seems to relate to FLV playback, not a MovieClip.
-
lemon juice hurts your eyes
You could go into your MC and put this code on the last frame:
Code:
MovieClip(parent).addEventlistener(stuff, blabla);
MovieClip(parent).addEventlistener(stuff2, blabla2);
Florian Vanthuyne
WAR AGAINST SOLVED THREADS
mark yours as Resolved under Thread Tools!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|