Components

In this example, the star will be visible if the check box is selected.

Get Adobe Flash player
The code is shown below:
import flash.events.Event;

chkStar.addEventListener(Event.CHANGE,changeStar);
function  changeStar(e:Event): void {
	star.visible=chkStar.selected;
}
Download the movie

NEXT: Slider Demo