-
Hi
I have created an expand/colapse menu with buttons.
The menu isnt the problem, my problem is trying to get one of the buttons to play a certain frame of another movie clip. I have tried almost everything i can thing of...
can anyone help me???
-thanks
>-MORE INFO-<
-the menu is a movie clip on the stage named (expanding menu)
-the second movie clip is also on the stage, in the same layer and named (Content)
-
try this
Try this for the action script on your menu button:
On (Release) {
_root.content.GotoandPlay(x);
}
Where 'x' is the frame number or frame label within the content MC.
Good luck!
-
yea i did that before but when i go and preview it, nothing happens
thanks newaz
-
double check
Make sure that your MC actually has the instance name "content" and is not just named that in your library. The previous scripting will only work if your instances are named correctly. Try using the target shortcut on the action panel and see if the instance of your content MC shows up. If not then Flash can't find it for some reason.
Just a thought, because if you've used this scripting then the problem has to be elsewhere.
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
|