Okay, I’ve got a little problem…
flash says there is something wrong with the following actionscript script
on (rollOver) {
//Play the start of the zoom animation
this.square_mc.gotoAndPlay("zoomIn");
//Add 10 to the root variable archiveOrder
_root.archiveOrder+=10;
//Set the depth of the child movie to the new archiveOrder variable to appear on top
this.swapDepths(_root.archiveOrder);
}
on (rollOut) {
//Play the end of the zoom animation
this.square_mc.gotoAndPlay("zoomOut"); }
mr. output says
Scene=Scene 1, Layer=effects, Frame=1: Line 2: on handlers may not nest within other on handlers
on (rollOver) {
i dont see anything wrong with it…i checked the script a few times…
but there is probably something i didnt catch, me being a idot and all, so any help would really be appreciated!
thanks
EDIT:
I now see what the problem is, but i dont know how to fix it …