Jump to content

Actionscript 3.0 question


POMO-man

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...