Button help for Flash CS3?

hizuplague

New member
I am currently working on a game, but I cannot get the Start button to function. I type:

on (release) {
gotoANDPlay(2)
}

It gives me the error: Mouse events are permitted only for button instances
That is the error it gives me for Actionscript 2.0

Why won't it work?
It is already a button and this is the whole error code: scene=scene1 layer=layer1 frame=frame1 line=1 Mouse events are permitted only for button instances on (release) {
 
Back
Top