Jump to content

Actionscript 3.0 question


POMO-man
 Share

Recommended Posts

Hey, guys.Here's some actionscript I'm using to try to facilitate a rollover effect in FLASH CS#.Originally, I had this:

b1.onRollOver = over;b1.onRollOut = out;function over() {	this.gotoAndPlay(2);}function out() {	this.gotoAndPlay(7);}

But flash then told me I had to add a little scritping before the mouseover in order for it to work.So, now i have this:

addEventListener ('mouseOver', callback_handler)b1.onRollOver = over;b1.onRollOut = out;function over() {	this.gotoAndPlay(2);}function out() {	this.gotoAndPlay(7);}

But, now it's basically saying there's an issue with " callback_handler "Anyone savvy in Actionscript 3.0? I'm, just trying to get this thing to function.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...