POMO-man Posted October 1, 2007 Share Posted October 1, 2007 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 More sharing options...
justsomeguy Posted October 1, 2007 Share Posted October 1, 2007 callback_handler needs to be the function you want to run when the event (in this case mouseOver) happens. You don't have a function named callback_handler. Link to comment Share on other sites More sharing options...
POMO-man Posted October 2, 2007 Author Share Posted October 2, 2007 Thanks. I fixed the problem by reverting to 2.0.Can anyone tell me what the easiest way is to imbed links into this nav bar?See it here:www.printingservices.net Link to comment Share on other sites More sharing options...
justsomeguy Posted October 2, 2007 Share Posted October 2, 2007 Putting a link in a Flash movie is pretty easy, there's not really a "hard" way and an "easy" way to do it. Check the Flash tutorials in the program for info on how to load a page when you click on something. Link to comment Share on other sites More sharing options...
POMO-man Posted October 2, 2007 Author Share Posted October 2, 2007 Yes, that was remarkably easy. THANK YOU for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.