ShowColorDialog BasicButton
<!-- Display color dialog - color is applied to input text control and all text messages sent by user. --> <SkinObject><Type>BasicButton</Type> <!-- Unique name of the control --> <Name>ButtonSelectColor</Name> <!-- Visibility true or false --> <Visible>true</Visible> <!-- When user clicks the button - color palette dialog is shown. --> <OnClick> <Action>ShowDialog_SelectColor</Action> <!-- If AutoShowDialog property is true, then dialog is shown automatically. This feature is very useful for dynamic skinning and also if developer wants to display dialog immediately after application is started. --> <AutoShowDialog>false</AutoShowDialog> <!-- Palette can contain at most 20 colors --> <Palette> <Color>990000</Color> <Color>FF0000</Color> <Color>CC9933</Color> <Color>FA9100</Color> <Color>000000</Color> <Color>006600</Color> <Color>00CC00</Color> <Color>99CC00</Color> <Color>000066</Color> <Color>0000CC</Color> <Color>0099FF</Color> <Color>9933FF</Color> </Palette> </OnClick> <Position> <Left>145</Left> <Top>100%-120</Top> <Width>36</Width> <Height>30</Height> </Position> <LookAndFeel> <!-- Button design --> <Images> <NormalImage>./skin/images/color_01.png</NormalImage> <OverImage>./skin/images/color_02.png</OverImage> <DownImage>./skin/images/color_03.png</DownImage> </Images> <!-- alpha value between 0..1 --> <AlphaBlend>1</AlphaBlend> <!-- Could be one of the following values http://www.google.cz/#q=flash.display.blendmode --> <BlendMode>normal</BlendMode> <!-- color transformation --> <ColorTransform> <Color redMultiplier="0.1" greenMultiplier="0.5" blueMultiplier="0.8" alphaMultiplier="1" redOffset="128" greenOffset="128" blueOffset="128" alphaOffset="0" /> <!-- <Color brightness="0" tintColor="0xFF000000" tintMultiplier="0" /> --> </ColorTransform> </LookAndFeel> </SkinObject>
Latest news (source CNN):

