A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] [F8] RadioButtonDetection

  1. #1
    Yarrrrrr
    Join Date
    Jul 2006
    Location
    Calgary, Canada
    Posts
    89

    [RESOLVED] [F8] RadioButtonDetection

    This should be easy but I cant for the life of me figure it out.
    Whats the code to check to see if an radio button is on?

    Thanks,
    R.S.

  2. #2
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    Simple google search did the trick.
    Code:
    if (RadioButtonInstanceName.selected)
    {
    // it's selected
    }
    Reference: http://livedocs.macromedia.com/flash...=00002707.html
    -Danny
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

  3. #3
    Yarrrrrr
    Join Date
    Jul 2006
    Location
    Calgary, Canada
    Posts
    89
    Thanks man, I feel dumb for not figureing that out on my own, i think i have .selected() at one point and it wasnt working. Oh well it works now.
    R.S.

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