how about this ?

var r:RadioButton = new RadioButton();
r.name = "r1";
this.addChild( r );



On 6/13/06, Aasim Momin <[EMAIL PROTECTED]> wrote:

I achieved that but how do I assign unique ID's to each of them.

Could you demonstrate this via a small snippet of code.

 

Regards,

Aasim


From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Tuesday, June 13, 2006 5:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Duplicating controls dynamically

 


no duplicateMovie() anymore,
try this whenever you need a new radio button.

var r:RadioButton = new RadioButton();
this.addChild( r );


On 6/13/06, Aasim <[EMAIL PROTECTED]> wrote:

Hi,

I am new to Flex. I would like develop an application which has a
number of radio buttons. How could i possibly duplicate them
dynamically?

Is there anyhing like duplicateMovieClip (as in Flash IDE).

Please suggest.

Regards,
Aasim

 


__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to