[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

disable radiobutton in flash

Hi, How can I disable a radiobutton in flash.  I still want the radio button to be displayed as an option, but NOT enable the user to click it and togle its value (true / false)

I'm using CS3 and AS2

I want to disable the button, but keep its value, so the user WON'T be able to change it

Thanx
0
crescue
Asked:
crescue
1 Solution
 
blue-genieCommented:
assuming you set the instance name to myRadioBtn


myRadioBtn.selected = true;
myRadioBtn.enabled = false;

this will select the button but fade it out.

if you don't want it to be faded out but just want them to not be able to change it

myRadioBtn.selected = true;
myRadioBtn.selectable = false;
0
 
crescueAuthor Commented:
Thanx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now