Classes
 ClassDescription
 BackgroundButton The basic BackgroundButton component.
 BackgroundButtonBuilder The builders of the BackgroundButton component.
 BackgroundButtonStyle This style of the BackgroundButton component.
 BitmapFilterButton This button filter motion to creates bitmap transitions when the button is over or selected.
 BitmapFilterButtonBuilder The builder of the BitmapFilterButton component.
 BitmapFilterButtonStyle The style of the BitmapFilterButton component.
 CoreButton This class provides a skeletal implementation of the Button interface, to minimize the effort required to implement this interface.
 CoreButtonBuilder This class provides a skeletal implementation of the button IBuilder objects.
 DashboardButton The dashboard button component.
 DashboardButtonBuilder The builder of the DashboardButton component.
 DashboardButtonStyle This style of the DashboardButton component.
 FrameLabelButton The FrameLabelButton class is use over a "state" MovieClip with the 4 default frame's labels with the name : "disabled" : the frame when the button is disabled. "down" : the frame when the button is down. "over" : the frame when the button is over. "up" : the first frame when the button is up. The stop() method is call in the first frame of the component when the constructor is launched. This class looks like SimpleButton class but you can use the registerType() and the unregisterType() method to add or remove a ButtonEvent type (DISABLED, OVER, DOWN...) corresponding with a frame label in the MovieClip view of the button. Example : import lunas.components.buttons.FrameLabelButton ; import lunas.events.ButtonEvent ; var bt:FrameLabelButton = new FrameLabelButton() ; bt.x = 50 ; bt.y = 50 ; // only if toggle is true and selected is true bt.registerType( ButtonEvent.OVER_SELECTED ) ; bt.registerType( ButtonEvent.OUT_SELECTED ) ; addChild(bt) ; try { // The QuestionButton is the class of a MovieClip in the library of the swf who extends MovieClip bt.states = new QuestionButton() ; } catch(e:Error ) { trace(e) ; } // test the toggle var keyDown:Function = function( e:KeyboardEvent ):void { var code:uint = e.keyCode ; switch( code ) { case Keyboard.SPACE : { bt.enabled = !bt.enabled ; break ; } default : { bt.toggle = !bt.toggle ; } } } stage.addEventListener( KeyboardEvent.KEY_DOWN , keyDown ) ; // debug var debug:Function = function( e:Event ):void { trace( "toggle:" + bt.toggle + " selected:" + bt.selected + " type:" + e.type + " enabled:" + bt.enabled ) ; } bt.addEventListener( ButtonEvent.CLICK , debug ) ; bt.addEventListener( ButtonEvent.DISABLED , debug ) ; bt.addEventListener( ButtonEvent.DOWN , debug ) ; bt.addEventListener( ButtonEvent.OUT , debug ) ; bt.addEventListener( ButtonEvent.OUT_SELECTED , debug ) ; bt.addEventListener( ButtonEvent.OVER , debug ) ; bt.addEventListener( ButtonEvent.OVER_SELECTED , debug ) ; bt.addEventListener( ButtonEvent.SELECT , debug ) ; bt.addEventListener( ButtonEvent.UNSELECT , debug ) ; bt.addEventListener( ButtonEvent.UP , debug ) ;
 FrameLabelButtonBuilder The builder of the FrameLabelButton component.
 IconButton The IconButton component with a label and a basic icon display representation.
 IconButtonBuilder The builder of the IconButton component.
 IconButtonStyle The style class of the IconButton component.
 ItemButton The ItemButton component.
 ItemButtonBuilder The builder of the ItemButton component.
 ItemButtonStyle This style of the ItemButton component.
 LabelButton This button contains a basic label field to display.
 LabelButtonBuilder The builder of the LabelButton component.
 LabelButtonStyle This style of the LabelButton component.
 LightButton This LightButton is a button who use a LightColor motion to creates light effects when the button is over or click.
 LightButtonBuilder The builder of the LightButton component.
 LightButtonStyle The style of the LightButton component.
 LightFrameLabelButton This LightFrameLabelButton is a button who use a LightColor motion to creates light effects when the button is over or click.
 LightFrameLabelButtonBuilder The builder of the LightFrameLabelButton component.
 LightFrameLabelButtonStyle The style of the LightFrameLabelButton component.
 MediaButton The MediaButton component.
 MediaButtonBuilder The builder of the MediaButton component.
 MediaButtonStyle This style of the MediaButton style.
 PictureButton This button load an external bitmap or swf to create this view.
 PictureButtonBuilder The builder of the PictureButton component.
 PictureButtonStyle This style of the PictureButton component.
 RadioIconButton This button display is a radiobutton component (or checkbox) with an IconTitle inside.
 RadioIconButtonBuilder The builder of the RadioIconButton component.
 RadioIconButtonStyle The style of the RadioIconButton component.
 SwitchLabelButton The SwitchLabelButton button component.
 SwitchLabelButtonBuilder The builder of the SwitchLabelButton component.
 SwitchLabelButtonStyle This style of the SwitchLabelButton component.
 ThumbButton This ThumbButton class.
 ThumbButtonBuilder The builder of the ThumbButton component.
 ThumbButtonStyle The style of the ThumbButton component.