Object oriented programming, use the checkbox for true false, boolean conditions.
HERE IS THE SOURCE CODE!
// 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!!






One Response to “The Flash Check Box Component”
Trackbacks/Pingbacks