PDA

View Full Version : 1026: Constructor functions must be instance methods.


richyrichy
07-20-2010, 10:33 PM
I am trying to link buttons in Flash to placeholders on the time line, but keep getting this error message, any ideas what it means

1026: Constructor functions must be instance methods.

Thank you

leolimax2009
07-21-2010, 02:36 PM
Hey man you can put a function like this:

Example:

if you want that when you press the button he's go to the Frame 2, put this code in the button:


on(release) {
gotoAndStop(2);
}