Ok, im self taught flash so forgive me if im not quite using the lingo, im sure ill be taught how to be hip and down with it soon enough. Anyway, my issue is that i have a basic button, with the following script
PHP Code:
btn1.onRollOver = function () { this.gotoAndPlay(2); } btn1.onRollOut = function () { this.gotoAndPlay (12) } btn1.onReleaseOutside = function () { this.gotoAndPlay (6) } btn1.onPress = function () { _root.gotoAndStop (1) }
which all works fine, its just when you skip over the button, it doesn't compleate the OnRollOut function. Now I think this is because it is still trying to compleate the OnRollOver function. Is there any way to get round this or would i be better using a frame reversal technique instead?
if you want a sample i can provide
oh yeah, im in flash 8 professional
Last edited by Night Hawk; 10-24-2008 at 02:31 PM.
Oh, I see. It's not because you're moving fast, it's because you're going OUTSIDE the actual flash movie before it has a chance to finish it's onRollOver animation.... which I guess prevents it from recognizing the onRollOut event. Try this, put a trace statement in your onRollOut event... anything. like this:
PHP Code:
btn1.onRollOver = function () { this.gotoAndPlay(2); } btn1.onRollOut = function () { trace("out"); this.gotoAndPlay (12) } btn1.onReleaseOutside = function () { this.gotoAndPlay (6) } btn1.onPress = function () { _root.gotoAndStop (1) }