Answered
WARNING: Actions on button and MovieClip
I have the following code that I am trying to get to work
with ActionScript 3.0:
on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
this.gotoAndPlay("s2");
}
The problem is that ActionScript 3.0 will not allow the script on a MovieClip instance. I am at a loss with what to do, I work well with examples, so I have posted 2 source FLA that are identical, the only difference is that one targets ActionScript 2.0 (and works), the other targets ActionScript 3.0 (and does not work).
Please take a look
on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
this.gotoAndPlay("s2");
}
The problem is that ActionScript 3.0 will not allow the script on a MovieClip instance. I am at a loss with what to do, I work well with examples, so I have posted 2 source FLA that are identical, the only difference is that one targets ActionScript 2.0 (and works), the other targets ActionScript 3.0 (and does not work).
Please take a look
