a silly enough mc onRelease question...
i used to be able to make it work. now i fail to see the error... help!
very simply i want the following: when a mc (instance name 'mc') is clicked in a certain frame, the main timeline should jump into another frame. i try with this code on the mc:
mc.onRelease=function(){
gotoAndPlay("anotherframe");
}
...but i get an error message:
blabla...Statement must appear within on/onClipEvent handler
photo.onRelease=function(){ blabla...
how come? i've tried putting the code into the frame in question, tried all i can think of... and i've used the same code earlier without problems. must be this cold, head full of snot and a terrible cough: i can't figure out the mistake myself.
please? help?