Yes, my question was for Flex 1.5 (otherwise I would have told it in the
topic ;) ).

Thank you for the response.

-----Original Message-----
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: mardi, 18. octobre 2005 23:53
To: [email protected]
Subject: Re: [flexcoders] Maximizing to fullscreen a component


On 10/18/05, Stephane De Jonckheere <[EMAIL PROTECTED]> wrote:

> Aren't there some method or component that support some "addExistingChild"
> method?

I assume your question is about Flex 1.5 -- no, there's no way to move
an existing child to another container.

[flex2]
In Flex 2, however, you can change the parent of an object very easily.

  var button:Button = new Button();
  button.label = "OK";
  container1.addChild(button):

  // move to container2 (gets removed from container1)
  container2.addChild(button);

We do this in some places in the framework code, and it can be quite useful.
[/flex2]



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




***********************************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager to [EMAIL PROTECTED]

***********************************************************************************



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to