Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Ui Component: Checkbox, detect the checkbox value
sasa
post May 10 2005, 02:13 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 10-May 05
Member No.: 4,923



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...
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 10 2005, 07:20 AM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



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 smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Where Can I Find Free Skin Component For Delphi(1)
  2. Building A Computer Component By Component(15)
  3. Winxp Cannot Detect Usb Harddisk(8)
  4. Javascript: Browser Detection Script(0)
  5. Dogs Trained To Detect CD & DVD At Airports(13)
  6. Help: Multi-threading Trouble In Custom Socket Component(2)
  7. Detect In Software Connected Speakers(0)
  8. Photoshop 7.0 Wdc: Feature Area(3)


 



- Lo-Fi Version Time is now: 7th October 2008 - 02:27 AM