View Full Version : Drop down menu button
mechanical_fear
03-01-2002, 05:47 PM
I made a simple dropdown menu in a movie clip. In that movie clip I have buttons. Those buttons will not jump to a selected scene, can Iget some help here?
Ricod
03-01-2002, 06:24 PM
That's not helpful at all u know ... If someone shouts : I click, but nothings happening u don't know how to solve it either ...
We need more info here.
R u using scenes ? Are the buttons recognized as buttons ? What code do use the call the 'scenes' ... did u label frames ?
That kinda info ...
mechanical_fear
03-01-2002, 06:35 PM
Sorry about that. I'm new here.
I have a movie clip on the stage and inside the movie clip there is a button which you click on and it drops down other buttons.
When you click on the dropdown buttons they do not jump to scene I have the goTo action attatched.
Yes I am using scenes. The buttons are tracked as buttons(inside the movie clip) and this is what I am using to call the scene
on (release) {
gotoAndPlay ("clients", "clients");
}
Ricod
03-05-2002, 10:46 AM
Its okay :) ! U should label the first frame of every scene, and jump to that label, instead of the scene. U see, Flash has some troubles with scenes being called from anywhere except the main timeline. for example :
on (release) {
_root.gotoAndPlay ("myLabel");
}
lmnopuna
03-07-2002, 09:23 PM
Hey Rico where do you type this in at? I don't understand where to enter this info.
I have had the question about buttons in movie clips going to other scenes in the main movie for along time. I've also seen the code below before I just can't figure out where to put it.
_root.gotoAndPlay ("myLabel");
}
put the code that ricod gave u on the button.
it is saying 'when this button is clicked and then the click is released, go to and play from the frame labeled.
BLEEDA
lmnopuna
03-07-2002, 10:11 PM
This is what I have done
Make button
Put it in a movie clip
Make a new scene and label first frame "test"
Go back to movie clip with button in it
add the actions:
on release
goto label "test" and play
Go back to original scene and put the movie clip on it
then test movie
That doesn't work
What's up?
pinkaboo
03-08-2002, 09:22 AM
I think I have your setup right and it works for me - here is a quick .fla for you to compare with yours.
Hope that helps.
Might be helpful to go through (or refresh yourself with) some of the early tutorials on this site too.
K
Twister
11-21-2002, 09:56 PM
This makes no sence. I'm trying to do what is explained here and nothing works. Alls i want to do is is go from Scene 2 to Scene 1 from a button within a MC. Why is that so hard flash?
on (release) {
gotoAndPlay("Scene 1", 1);
}
doesn't work
on (release) {
gotoAndPlay("Scene 1", "Scene1");
}
doesn't work.
if i stick _root. before all the goto's it doesn't work.
Flash so pisses me off sometimes.
Twister :confused:
have you named your scenes because if so u will have to specify the scene name?
there has been quite a bit of discussion before here about avoiding scenes
Twister
11-22-2002, 05:58 PM
I'm leaving my scenes named the default (scene 1 scene 2) because it fits with the project. I did get it to work but i had to use tell target. And i don't like tell target.
Twister
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.