How do I not reload a .swf that is already loaded
i have actionscript attached button loads .swf in level 10:
on (release) {
_parent.images.gotoandstop(1);
loadmovienum("57evinrude.swf", 10);
}
what need add above stop movie reloading same .swf if it's loaded , press same button.
thanks..
on (release) {
_parent.images.gotoandstop(1);
loadmovienum("57evinrude.swf", 10);
}
what need add above stop movie reloading same .swf if it's loaded , press same button.
thanks..
if that's movieclip button can add this.enabled=0 release handler. if it's true button , want apply code directly button, you'll need give button instance name (say btn1) , use btn1.enabled=0 in release handler.
p.s. you'll want re-enable button when button pressed.
p.s. you'll want re-enable button when button pressed.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment