Solved

disable radiobutton in flash

Posted on 2011-09-15
2
313 Views
Last Modified: 2012-05-12
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
Comment
Question by:crescue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 36548343
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
 

Author Closing Comment

by:crescue
ID: 36554007
Thanx
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question