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:

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

Leave a Reply

Security Code:

AVA Trading Forex
WIX create a FREE website.
Try ACT! 2010 Today
Accept Credit Cards
UseNeXT Fast Downloads
For Free Stuff Click Here

Get Paid for Filling Surveys


Go Daddy $7.49.com sale 125x125 Huddle Collaboration
oDesk Certified Action Script Programmer oDesk Certified Adobe Flash CS3 Designer oDesk Certified Adobe Photoshop 6.0 Designer

Compare Web Hosting Services and Prices

web hosting - Web Hosting guide to popular hosts.

Twitter Followers