Excuse my absolute n00b1n355 in this respect, but I can’t quite figure out how to make movieclips communicate with the main timeline using AS 3.0. Anyone experienced enough out there to help me?
I have a movieclip inside my timeline which I want to behave in two different ways
a) Just to flow nonstop until the end if a variable “ispausable” is set to false
b) Stop at certain points and wait for a timer or user input to resume if “ispausable” is set to true
The animation has to run once in non-pausable mode, which is what I have on frame 1 of the main timeline, setting the var ispausable:Boolean = false;. And then, on frame 2 I am adding some more controls including “reproduce in pausable mode” so users can do so if the feel like it. I set ispausable=true;, but I get compile errors from the code inside the movieclip timeline, which tests **if(ispausable==true){…}
**Also, if a variable I set early in the movie “autoflow”, is set to true, the animation waits a few seconds and then resumes, but if it’s set to false, it waits indefinitely for user input before continuing. The function is defined in the main timeline and works ok when I use it in the main timeline, but what i f I want to use it inside the animation movieclip mentioned above?
Please help?