Within On Handler Question

Working on Slider Menu by Pom - Works great - Trying to make it so that the individual sections will “go to and play” a certain frame.
I keep getting this error.

Symbol=1st, Layer=numero, Frame=1: Line 2: Statement must appear within on handler
gotoAndStop(30);

I’ll try to upload the fla, but uh, might not work.


Too big, never mind.

it means you have some actionscript placed on a button thats not within a block such as

on(press){ }

etc

thanks sen, but how do I like… make it… not… …make it fixed. Yeah.

it depends what that gotoAndStop(30); is for. Is it supposed to be run on the timeline or when you press the button? If on the timeline, take it off the button, select the timeline then paste it in the actionscript editor there. If by button press, then add the on(press){ around it };

:slight_smile: