Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two questions about popup menus

Status
Not open for further replies.

rebeccam

Programmer
May 21, 2002
20
CA
#1. I have designed a popup menu that expands and colapses but it does not navigate. I want it the call on another scene rather than a url. What code should I be using.

#2. As well the pop up menu expands each time I open the swf file. What am I doing wrong?

#3. Ok one more. Does anyone know of a tutorial for floating text boxes?
 
#1. You'll probably need to use labels for navigation, rather than scenes (scenes aren't recognised on buttons which aren't directly on the main timeline). So, put a label in the frame you want to go to for each button, then put this code on the button:
Code:
on(release){
 _root.gotoAndPlay("myLabel");
}
#2. Try putting these actions on your movieClip:
Code:
onClipEvent(load){
 stop()
}

#3.
 
I got the navigation working. But the menus still expands when the file is opened. I put the new code where the stop()
was in the movie clip (on its own layer). Nothing has changed. Should I put the new code somewhere else?
Thank you
 
Put this code ON your movieClip (select the movieClip, open the ACTIONS panel, paste the actions in):
Code:
onClipEvent(load){
 stop()
}
If it still doesn't work properly, can you post the FLA on your website and put the address up here? I can download it and have a look for you ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top