-
navigation
hello,
I have a flash piece (obviously) and I have a navigation problem. If I am in a "movie clip" how do I go to a frame outside the "movie clip" on "Scene 1". It is not finding "goto framexxx". What piece of code am I missing?
Thanks in advance.
-
Senior Member
_root.gotoAndPlay("framexxx");
the _root part always targets the main timeline. So if you are in a movieclip, this movieclip has its own timeline. If you don't have the root, it will look for a frame called framexxx in the timeline of the movie.
-
thank you sir, i will try it out.
-
Senior Member
sir? I don't think so...
let me know if it solves your problem or not.
-
yes, it did work thanks.
which leaves me to another question. if i am in a movie clip how do i target outside it and target a particular frame within another movie clip?
thanks again
-
Senior Member
you have to give your movieclips instance names. You find that in your properties panel when you select the movieclip. If the movieclip you want to target is on the main timeline you should use:
Code:
_root.instancename.gotoAndPlay("frame");
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
|