Essentially, you use the new operator and then call addChild on the
instance. But here's the doc:

Creating ActionScript components
http://livedocs.macromedia.com/labs/1/flex20beta2/00000483.html

Hth,

Matthew J. Horn
Flex docs 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of rama satoskar
> Sent: Friday, March 31, 2006 5:43 AM
> To: [email protected]
> Subject: [flexcoders] dynamic creation of buttons!
> 
> hi,
> i would liek to know whether buttons could be created 
> dynamically in scripts. if yes, can someone send a sample code.
> thanks.
> 
> 
> 
> 
> 
> --
> 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
> 
> 
> 
>  
> 
> 
> 


--
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