Mega Code Archive
Enable a Group by checking a DropDownList selection
import mx.collections.ArrayCollection;
import spark.core.MaskType;
[Bindable] public var masks:ArrayCollection;
private function handleCreationComplete():void
{
masks = new ArrayCollection( [ MaskType.CLIP,MaskType.ALPHA,MaskType.LUMINOSITY ] );
maskList.selectedIndex = 0;
}