how about this ?
var r:RadioButton = new RadioButton();
r.name = "r1";
this.addChild( r );
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Duplicating controls dynamically Jeremy Lu
- RE: [flexcoders] Duplicating controls dynamically Gordon Smith
- RE: [flexcoders] Duplicating controls dynamically Gordon Smith
- RE: [flexcoders] Duplicating controls dynamically Jason Szeto
Reply via email to