Feathers Extension ColorPicker 1.0.4
The ColorPicker control provides a way for a user to choose a color from a spectrum.
Download project, swc, and samples on GitHub
Documentation
To compile this sample download the Feathers SDK (Manager)
Main.mxml
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 pol2095. -->
<f:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:f="library://ns.feathersui.com/mxml"
xmlns:components="feathers.extensions.color.*"
theme="feathers.extensions.themes.MetalWorksDesktopTheme">
<fx:Script>
<![CDATA[
private function getColor(event:Event):void
{
color.text = "0x" + colorPicker.color.toString(16).toUpperCase();
}
]]>
</fx:Script>
<f:layout>
<f:VerticalLayout paddingTop="5" paddingBottom="5" paddingLeft="5" paddingRight="5"/>
</f:layout>
<components:ColorPicker id="colorPicker"/>
<f:Button label="get color" triggered="getColor(event)"/>
<f:Label id="color"/>
</f:Application>
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'pol2095'@'172.20.245.61' (using password: YES) in /mnt/171/sdb/f/2/pol2095/Feathers-Extension-ColorPicker/index.php on line 142
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /mnt/171/sdb/f/2/pol2095/Feathers-Extension-ColorPicker/index.php on line 149
Echec de la connexion à la base de donnée