Hi Madhavi, As per my knowledge, flex will not generate id to the components that we are created. For Example, if we create button it will generate code like:
<s:Button label="Button1"/> If you are generating components using for loop better to specify id as 1,2,3,4 ans so on. Kiran. On Tue, May 31, 2011 at 2:13 PM, madhavi chinni <madhugeetanjal...@gmail.com > wrote: > Hi, > > I created some 10 checkbox's in a loop at runtime in actionscript.I > need get the IDs of the checkbox's which are checked at runtime when I > click on a button.But I am getting null exception when I click on the > button. > Can anyone help me on this. > > Thanks, > Madhavi > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_india@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.