An indicator light that can be turned on, off, or set_to flash.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?color:UInt, ?label:String)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this CheckBox. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
color | The color of this light. |
label | String containing the label for this component. |
Variables
Methods
flash (?interval:Int):Void
Causes the light to flash on and off at the specified interval (milliseconds). A value less than 1 stops the flashing.