A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Radio Button Group - Turn on/off???

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    18

    Radio Button Group - Turn on/off???

    Is there a way to turn off the select ability of a radio button or radio button group? Basically I have a game with ()A ()B ()C ()D radio buttons to select a particular answer. Once the question has been answered correctly I would like to disable that group so they cannot select it again.

    Is that possible without too much trouble?

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi
    Example:Supposing your radio group is named radioGroup1....
    code:
    radioGroup1.setEnabled(false);


  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    18
    Awsome! Works perfect. Thank you very much for answering this!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center