Scott,
 
Thanks that works great!!!  Man what  load off my shoulders now that I
have something to show! I feel 20 pounds lighter!
 
I was doing it in actionscript and in there it needs to be
whatever.visible = false;   i.e. no quotes.
 
I know you probably know that. I'm just posting it in case somebody is
reading through (that didnt know it -- like me!).
 
brad

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Melby
Sent: Wednesday, February 06, 2008 1:57 PM
To: [email protected]
Subject: Re: [flexcoders] Removing Object from Screen



I usually use whatever.visible  = "false" and
whatever.includeInLayout="false" then just set them back to true to
bring them back.

hth
Scott


Scott Melby

Founder, Fast Lane Software LLC

http://www.fastlane <http://www.fastlanesw.com> sw.com


Brad Bueche wrote: 



I need to do one more thing and then I can get this puppy out the door.
 
I have been using states because they allow me to do Remove child.
Then I stumbled across  whatever.visible = "false".   Well it appears
that this visibility is effective for the first presentation of the
screen and that you cant use .visible = "false" to remove something.
 
In this case I need to remove a panel with a chart in it.  I also need
to remove a menu bar.  And of course make them visible again based on
certain menu selections.  Is there an easy way to do this or do I have
to use states and removechild?
 
brad



 

Reply via email to