PDA

View Full Version : Uncertain behaviour of Flash UI Components


rahulkhandelwal
03-15-2005, 01:32 PM
Dear All,

I am trying to create Instances of Radio Button (Flash UI Component V 2) with the help of Action Script and also change the properties like x and y coordinates etc. When I try to do this it functions properly first time. On Click event of a button I create another instance of the Radio Button at the same depth. But when I click on the button though it creates the Radio Button but doesn't set the properties of that. Also, I since I create 2 Radio Buttons, so both are created at the same depth, so only 1 is visible. I really don't understand why is it happening.

Also, I tries an alternative way, and rather than creating the Radio Button on the click event of the button, I tried resetting the state of the Radio Button(i.e. Both Radio Buttons should appear deselected). But its not doing that too. I have really gone sick with it. Can anyone help me please.

If you need the source code of my example, please email me and I'll send you the source files. My email id is rahul_khandelwal@yahoo.com

Thanks.