-
Been a while.. [RESOLVED]
I haven't used Flash in a while and I'm paying for it now. I'm trying to control the main timeline from an MC. When a certain score is reached, the frame should advance to 2. Have a look at my current code:
Code:
if (parseInt(/:score) >= parseInt(/:pelletCount * 10)) {
gotoAndStop (2);
}
When gotoAndStop(2); is replaced with getURL(), it works flawlessly. Is there a special way to control the main timeline from an MC?
Last edited by Supra; 12-06-2002 at 02:49 PM.
-
¤ ¤ ¤ PAZ ¤ ¤ ¤
i'm not sure how you have your .fla setup, but since you mentioned something about controlling the main timeline, it might be as simple as adding _root. to the front of your goto command...
Code:
_root.gotoAndStop(2);
Ah, these boys is all swelled up. So this was earlier...getting set to trade. Then, woooaaah differences.
Blog ¤ Photos ¤ Book
-
Yup.. that did it. I should probably stop using Normal Mode more often Thanks bro
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
|