Solved

disable radiobutton in flash

Posted on 2011-09-15
2
300 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
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

762 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now