|
Help with Some Troublesome Code
Hey Folks!
I;ve put together a simple flash and apparently I'm too stupid to figure it out. There are no code errors to it but I still cant get it to work. I'm using CS4 Pro
I've attached the file if anyone cares to help!
Here's the script I used:
animation_mc.stop();
button_mc.stop();
button_mc.onPress=function(){
if(button_mc._currentframe ==1){
this.gotoAndStop(2);
animation_mc.play();
}
else{
this.gotoAndPlay(1);
animation_mc.stop();
}
}
And here is the error messages I'm getting:
Warning: 1090: Migration issue: The onPress event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'mouseDown', callback_handler).
Warning: 1058: Migration issue: The property _currentframe is no longer supported. Use the MovieClip.currentFrame property instead..
Thanks in advance folks!
|