PDA

View Full Version : button doesnt work, please help!!


maowang
04-22-2002, 03:06 AM
Hi guys,
please see tha attachment, for some reason, the button doesnt work, when i mouse over "about" the "i2"button shows up, I want to click on i2 button and take me to scene 2. I just cant get it work, please help

FiZzIk
04-22-2002, 04:21 AM
here, have a look.:)

maowang
04-22-2002, 06:59 AM
Hi Fizzik,
thanks for your reply, could you please tell me how and what did you do? i've notice that you add the code:
on (release) {
_root.gotoAndPlay("2", 1);
}


I assume that 2 represents the scene #, then when i create a scene 3 and change the code to 3 (see attached), but it doesnt work this time, am i missing anything here? Could you please explain it to me

thanks

toke
04-22-2002, 07:58 PM
I have another solution....

instead of using expression, here is what I did.

In your "scene 3", modify the scene and give it a name. say.... "test" and give the label name "a" (or anything you'd prefer).

then, on your i2-but insert this code

on (rollOut) {
gotoAndPlay (11);
}
on (release) {
tellTarget ("/") {
gotoAndPlay ("test", "a");
}
}

this should work.