Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / August 2006



Tip: Looking for answers? Try searching our database.

Checkbox statement using variables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kengen - 24 Aug 2006 08:03 GMT
Using Component Inspector, I can control input dynamically.
But I can?t find a way to control checkboxes.
[http://www.mobil-e.dk/turbineQ/ho_correct_statement.jpg

I am very thankfull for ansvers to this post
derobinson - 24 Aug 2006 15:10 GMT
Something like this:

if (myVar == "checked") {
    myCheckbox.selected = true;
} else {
    myCheckbox.selected = false;
}

Hope that helps!
kengen - 25 Aug 2006 07:09 GMT
Thank you very much for your answer
Because I am absolutely new in developing Flash  applications, I have
difficulties to find the script area, that controls the checkboxes.
The Component Inspector is very userfriendly, but where is the code behind the
checkboxes?

/KEN - From Denmark
derobinson - 25 Aug 2006 14:50 GMT
Components are defined in Actionscipt classes that are automatically imported
at compile-time. For the most part, you don't really need to mess with that
source code. Instead, you just make use of the properties and methods exposed
by that class. Consulting the Help Docs will give you everything you need to
know there> here's the Live Docs link for the check box:

http://livedocs.macromedia.com/flash/8/main/00003147.html

If you're still interesting in looking at the guts of it all, on a Windows
box, the path to the file is something like this:

C:\Program Files\Macromedia\Flash 8\en\First
Run\Classes\mx\controls\CheckBox.as

Cheers!
kengen - 29 Aug 2006 14:22 GMT
Thank you very much for your time David.
I found a solution using your script id?a in my aspx feed
/Ken
derobinson - 29 Aug 2006 15:16 GMT
Glad to hear it worked Ken!

Good luck!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.