PDA

View Full Version : Button Help


mikgab
01-09-2008, 08:43 PM
Hello I have this symbol with a button inside,
and have this script for the button

on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
}
on (release) {
gotoAndPlay("Scene 3", 1);
}

the "s1" its the button colorless and "s2" its the button with color, but the third action doesnt work, I think its because its inside the symbol not in the main timeline of scene 1.

can some one help me with the right script or with some solution,
Thanks

gilezajner
01-17-2008, 07:10 PM
Ok - you have MovieClip symbol and inside you have Button symbol...

Try this - type this action on some frame of the main timeline:

_root.mc.btn.onRelease = function() {
gotoAndPlay("Scene 3", 1);
}

mc is your MovieClip, btn is Button symbol...