Hi,
I’m using external swf in a project, and I got one swf with startup audio play, I can’t stop the sound to play when I load another swf via this code :
clearButtons();
TweenLite.to(m.target, 0.5, {tint:0xcc0000});
m.target.mouseEnabled = false;
m.target.mouseChildren = false;
m.target.buttonMode = false;
m.target.removeEventListener(MouseEvent.MOUSE_OVER, functionOver);
m.target.removeEventListener(MouseEvent.MOUSE_OUT, functionOut);
id=m.target.id;
loader.unload();
globalContainer.removeChild(loader);
rimuoviListeners(loader.contentLoaderInfo);
caricaSezione(id);
I’ve tested loader=null but I get errors, i’m using external document class to manage all this.
many many thanks for your help.
Matt