Hi Kirupa,
this tutorial working fine, but when i make a complex button rollover/rollout effect with
this code
//stop(); this.onEnterFrame = function(){ if(rewind == true){ prevFrame(); } } this.onRollOver = function(){ rewind = false; play(); } this.onRollOut = function(){ rewind = true; } this.onRelease = function(){ getURL("http://www.kirupa.com","_blank"); }
i remove the last onRelease function and i’m using the code in the external swf transation
on (release) { if (_root.currMovie == undefined) { _root.currMovie = "main"; container.loadMovie("main.swf"); } else if (_root.currMovie != "main") { if (container._currentframe >= container.midframe) { _root.currMovie = "main"; container.play(); } } }
i’m using this code over all button as tutorial but it’s not working.
any help plz
many thanks to all