dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: radio button selection problems

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    21

    radio button selection problems

    I have radio button groups and once the group has focus it's possible to move through the group with the keyboard arrow keys (default). The problem with that is I found that when moving through the radio buttons with the arrow keys it would make the radio button 'look' selected when it actually wasn't. The radio button fills with the black dot but it doesn't actually change the selected value.

    Two questions:
    - Is there a way to dynamically change a radio button to selected?
    OR
    - Is there a way to disable all key commands (disable arrow keys)?

    Any help will be greatly appreciated!

  2. #2
    Senior Member jweeks123's Avatar
    Join Date
    Mar 2006
    Posts
    1,124
    Try:

    radiobuttonName.selected = true;

    radiobuttonName.selected = false;

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