The Flash Check Box Component

Sun, Jan 17, 2010

ActionScript, Adobe Flash

This movie requires Flash Player 9


Object oriented programming, use the checkbox for true false, boolean conditions.

HERE IS THE SOURCE CODE!

//The ActionScript 3.0 Flash Check Box Component
// Avraham Saltoun
// solutions at say-web dot com
// FREE to USE, COPY and DISTRIBUTE

import fl.controls.CheckBox;
// this will enable check box
// properties, methods capabilities

airplane_mc.visible = false;
// this will disapear the plane
// when clip loads…

myCB.addEventListener (Event.CHANGE, detect);
// this will set the compiler waiting
// for action on the check box

function detect (event:Event){

if (event.target.selected == true)
{airplane_mc.visible = true;}
else
{airplane_mc.visible = false;}

}

// thanks for watching!!

Related Articles:

, , , , , , , , , , , , , , , ,

2 Responses to “The Flash Check Box Component”


Trackbacks/Pingbacks

  1. for income – pay-per-click, pay per impression,…

    and pay per action. they may be topic specific or general advertisements. pay-per-click advertisements pay the blogger per click that the ad gets from readers. pay per impression ads will pay the blogger for the number of times the ad is…

  2. and subheadings.this will not only give an…

    interesting look to your post but also let the readers know what to expect in your post with just the overview.summarizeit is very important for you to summarize at the end of the post. in two or three lines, you can…

Leave a Reply

You must be logged in to post a comment.

My name is Avraham Saltoun, and I live in Jerusalem, Middle East. I am currently on my mid  40's and I am a computer programming technician. Here you will find over one hundred quality video tutorials on Actionscript, and yes, I give online support for aspiring programmers, and pros as well, sharing screen on skype and delivering source code by email, click the button for live flash actionscript support now!

 
oDesk Certified Action Script Programmer
oDesk Certified Adobe Flash CS3 Designer
oDesk Certified Adobe Photoshop 6.0 Designer
Skype Me™!

$7.49 .Com! Score Savings Cartoon Smart Tutorials


832
Unique Visitors
Previous 30 Days
Powered By Google Analytics