PDA

View Full Version : Invisible Buttons in Movie Clips


simontheak
10-01-2002, 10:53 AM
I've basically got an invisible button inside a movie clip with the following code:

on (release) {
gotoAndPlay ("Scene 1", "start");
}

However, clicking the button doesn't seem to do anything.

Anyone got any ideas why? Is it something to do with paths?

Jesse
10-01-2002, 01:42 PM
Label the frame you want to gotoAndPlay, then call it via
_root.gotoAndPlay ("MyLabelName");
Scene names are buggy when you get into nested buttons.

simontheak
10-01-2002, 02:22 PM
Thanks Jesse - I think I've lost count of how many drinks I owe you now ... but you can add another one to the list! :D