Hi, I'm trying to delete a progress bar component I have placed in the stage, and once this load the swf or the loader, I'd like this to be deleted, but so far I don't have any success doing it.

This is the code I'm using.
is a simple one. I hope you could help me out.

var myloadListen = this.myloader
mypb.source= myLoader;
myloadListen.complete = function(evt_obj:Object){
        delete _root.loaders.mypb;
}
myloader.addEventListener("complete",myloadListen);



regards


gustavo Duenas



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to