Color Pixel Components
- Remove small error in classes
- I enclosed the example of the use two component “color pixel” at the scene
Color Pixel Components (Action Script 2.0) :
Code AS in FLA :
///change Color Background/////
function setColorBackground(color_:Number) {
var k:Color = new Color(mcBackground);
k.setRGB(color_);
}
///////change Color in ColorPixel/
function onChangedColor() {
var color = colorPixel.getColor();
trace(“change Color = “+color)
setColorBackground(color);
}
//////////add events colorPixel
colorPixel.addEventListener(“onChangedColor”,this);
colorPixel.setColor(0×486F82); ////first Color
////////////////////
Included files:
- Documentation (.txt)
- Flash 8 file
- SWF file
- AS file (classes action script 2.0)
The component isn’t being installed. He is in library in the file fla.
keywords: color picker,color pixel
Do you want to open an account ?
Register here !
:: Site Template ::
:: Book ::
:: Gallery ::
:: Banner for website ::
:: PlayerMovie ::
:: PlayerSound ::
:: Menu ::
:: Flash Utilities ::

:: Flash News ::


23comments