PDA

View Full Version : Moving mousebutton


Trashcan
11-04-2002, 08:12 AM
ok, we have a moving mousebutton. this is a mousebutton made of a movie. The movie contains one element, a button.

When the button is pressed, we are skiping the intro.
We can see the button beeing pressed, becuase of the down state.

We can not make it change to our new frame/section
We only have one scene:)

so we have:

on (release) {
gotoAndStop("scene 1", "jalla");
}

This doesn't work.... why?:)

farafiro
11-05-2002, 07:17 AM
first, r u sure of the frame's lable, then try thison (release) {
gotoAndStop("jalla");
}

Trashcan
11-05-2002, 07:21 AM
we have tryed that as well.
the only way to get up the frame labels in normal mode is to select the scene we are in.

because:
the button you are pushing is in a movieclip.
the movieclip is in a scene

we have to make the AS for the button in the movieclip affect the scene.

am I confusing more??:)

farafiro
11-05-2002, 07:25 AM
ahua, so that script in on a movieclip, ok, so u need to add _root.gotoAndStop ............
why?? coz when u do that u pass this script to the movieclip time line, not to the _root

Trashcan
11-05-2002, 07:32 AM
the right ppl are checking, so I can't respond with a work or no work yet....:) buut me thinks that i would work, since the logic strikes me as profoundly right.

thanks again!