does anyone know how to make my button go to other scene ?
here is my button
http://s000.tinyupload.com/index.php...39244794682264
Printable View
does anyone know how to make my button go to other scene ?
here is my button
http://s000.tinyupload.com/index.php...39244794682264
Scene or frame? There is a huge difference between these two.
scene sir
i've try using _root.gotoAndStop
but it wont work
You can't do gotoAndStop with scenes.
I don't remember if this works with as2, but try:
gotoScene(scene number here);
how to know the scene number ?
from the order of scene list ?
the gotoScene wont work on AS 2
Hi,
TryorPHP Code:gotoAndStop("Scene1", 1);
depending upon which scene it is you want to go to as I can not make head or tail of your fla file.PHP Code:gotoAndStop("Scene2", 1);
fruitbeard : it not work sir, i've try it
Hi,
which is the button, is it the big green box and you want to go to scene2
Hi,
Try this, give the main movie clip on scene 1 a name of "a", then put this on the timeline of scene 1
PHP Code:stop();
a.b.onPress = function()
{
gotoAndStop("Scene 2", 1);
};
if i use that script, the motion become not working
Hi,
When I use the code it works, perhaps you are putting the code in the wrong place, it needs to go on the main timeline of scene 1, and not inside the movieclip, i could post the fla, I use CS6, but can make it CS5.
There you go, CS5, I had to remove the twirling smoke images to make it smaller, you can add them back at your end
so its not working in flash 8 ?
oh, its work
thanks sir :)