Aspire UI Components (Flash ActionScript 3.0) Docs

uiColorPicker

Required: Aspire UI Components Standard Edition

The uiColorPicker control creates a single rectangular button that brings up a palette when it is clicked. This allows users to pick a color from a pre-defined set of colors.


Using uiCheckListBox

ActionScript 3.0 Example

import com.ghostwire.ui.controls.uiColorPicker;
 
// create colorpicker instance
var myColorPicker:uiColorPicker = new uiColorPicker();
myColorPicker.x = 10;
myColorPicker.y = 10;
 
// set up listener
myColorPicker.addEventListener(Event.CHANGE, onColorPickerChange, false, 0, true);
 
// add to display list
addChild(myColorPicker);

uiColorPicker Example


See Also

API Reference

For more information on the members of the com.ghostwire.ui.controls.uiColorPicker class, please refer to the API Reference.


 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki