RE: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Steven Sacks | BLITZ
You can't tell an object to delete itself from within its own thread. When you delete an object outside of its own thread, you need to first delete any functions assigned to that object and remove it from any event listeners of other objects or you will end up with memory waste.

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Gustavo Duenas
any about doing this good I'd like to don't see the progress bar once the loader has finished. regards gustavo duenas On Mar 12, 2007, at 1:19 PM, Steven Sacks | BLITZ wrote: You can't tell an object to delete itself from within its own thread. When you delete an object outside of its

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Gustavo Duenas
actually I'm trying to set the _visible of the progress bar to false in the same place where I was trying to use the other instructions. like this. var myloadListen = this.myloader mypb.source= myLoader; myloadListen.complete = function(evt_obj:Object){ mypb._visible= false; }

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Jim Duber
Duenas [EMAIL PROTECTED] Subject: Re: [Flashcoders] deleting a progress bar after loading To: flashcoders@chattyfig.figleaf.com actually I'm trying to set the _visible of the progress bar to false in the same place where I was trying to use the other instructions. like this. var myloadListen

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Omar Fouad
instead: mypb.visible = false; Like many (most, all?) of the V2 components, there should be no underscore in the 'visible' property. Best, Jim Date: Mon, 12 Mar 2007 13:54:07 -0400 From: Gustavo Duenas [EMAIL PROTECTED] Subject: Re: [Flashcoders] deleting a progress bar after

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Marc Hoffman
Sorry I just caught this thread, but I notice something that seems wrong in your code. You have: if(_root.logoX._x=_root.logoX._x-270)... Now, why would a value ever be equal to less than itself? If this is an important part of your code, you need to create another variable to remember the