-
goToAndPlay? But doesn't work
Hi -- thanks for reading this. I want to do something simple but can't recall how to do it.
I want to influence a MC from a frame. The MC is already on stage. I
just want that have that movie clip play at designated label instead
of the beginning where it normally does when we reach a given frame.
I'm moving the MC around manually so I wouldn't do attachMC or
anything like that.
I'm not clear on how I do that anymore. Do I need any kind of code in
my frame besides ...
_root.myMCname.gotoAndPlay("label")
(with myMCname reflecting the on-stage Properties label, not the "real" MC name)
because that's not working.
Thanks for any guidance you can give. I hate to get tripped over
something this basic.
-
It should work, unless by the missing semicollon at the end...
-
 Originally Posted by blakekr
_root.myMCname.gotoAndPlay("label")
(with myMCname reflecting the on-stage Properties label, not the "real" MC name)
i'm not quite sure what you mean by this. it should actually work though, just make sure that the mc has an instance name and that you address it by that.
also make sure that the name "label" is actually on a frame inside the mc and not on some other instance...
these are the only two sources of error i can think of right now...
(missing semicolon doesn't matter as long as there are no other commands on the same line)
-
Thanks for your replies. Someone helped me with some trace commands, and here is where I seem to be stuck:
If I trace the MC, it shows up fine. If I trace the first label in the MC, it also shows up fine (and the label trace pops up before the MC's trace does). But if I trace any labels besides the first one in the MC, they don't come up. I'm sure this is because I have stop() at the end of each labeled segment to stop them from running into each other.
So how can I get labels other than the first one to load correctly so I can call it?
-
can you post that fla please, so we can see what you are doing exactly?
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
|