PDA

View Full Version : buttons and scenes


justix
11-19-2001, 08:56 PM
I know this is been asked hundred of times...
Have my buttons in an MC which should call in to another
scene (scene3, buttons are in scene2) I used:

on (release) {
_root.gotoAndPlay ("Scene 3", 1);
}
is it right? because IT DOES NOT BLOODY WORK!! aarrgghh
what's going on?
plzz

Billy T
11-19-2001, 09:04 PM
try this

on (release) {
tellTarget ("_root") {
gotoAndPlay ("Scene 3", 1);
}
}


cheers

justix
11-19-2001, 09:13 PM
thanks man...did it now...but instead of working it does simply repeat the preloader and the main movie...

structure:

preloader (root?)
Scene2----mc calling to scene 3
scene3----rolls back and loadexternalmovie

don't know why but it doesnot go there....
cheers man....

Billy T
11-19-2001, 09:15 PM
do you have a stop action in scene 3?

justix
11-19-2001, 09:20 PM
no..it should play a movie backward and then call for a loadmovie...
instead it repeat the main movie
preloader+scene1;
sigh!

Billy T
11-19-2001, 09:23 PM
can you upload the file?

justix
11-19-2001, 09:31 PM
i'm trying to reduce it a bit....

justix
11-19-2001, 09:52 PM
check the 1st button in the M2 ...is where the action should call
for the scene 3..
had to reduced it drastically....

pigghost
11-24-2001, 03:28 AM
Hi justix...

...put a frameLabel on frame1 of Scene3...for this example let's say something like "three"...

...then on your button in the movieClip put...

on (release) {
_root.gotoAndPlay ("three");
}

...no need to call the Scene name just the frameLabel...

Hope this helps...

-pigghost-

justix
11-24-2001, 06:43 AM
this make things easier..thanks man..i'll try it out now

cheers