|
|
Ui Component: Checkbox - detect the checkbox value | ||
Discussion by sasa with 2 Replies.
Last Update: May 10, 2005, 7:20 am | |||
hello, i am new user of flash and action script.
currently, i am using Flash MX 2004 and creating a checkbox.however,what should i do to trace whether the checkbox is checked or not...i tried to use getValue() but it seems to be malfunctional....does this function no longer exist in Flash MX 2004? is there any other way?
please help, i have been trying to get the checkbox value for few days already but still fail to do that...
currently, i am using Flash MX 2004 and creating a checkbox.however,what should i do to trace whether the checkbox is checked or not...i tried to use getValue() but it seems to be malfunctional....does this function no longer exist in Flash MX 2004? is there any other way?
please help, i have been trying to get the checkbox value for few days already but still fail to do that...
Tue May 10, 2005 Reply New Discussion
Flash MX has a new method to check for the check-state of checkboxes. It's called selected. Supposing your checkbox is named cbox, then cbox.selected would return you a boolean value stating whether its selected or not.
Hope this helps
Hope this helps
Tue May 10, 2005 Reply New Discussion
How Can I Bind Dynamic Text In Flash Animation? i need help with actionscript (7)
|
(3) Action Script Toturials?
|
Index




