Color Pixel Components

by flashmaniac

Update 6.VII.2009:
  • 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 ::

44676 44676 44676 44676

:: Book ::

43691

:: Gallery ::

17747 19017 27119 19339 25898 30418 38962 38962 38962 38962 38962


:: Banner for website ::

42732 42808 43945 45518 45518


:: PlayerMovie ::

27353 27352 43719


:: PlayerSound ::




:: Menu ::

38409 38410 40643 40643 40643


:: Flash Utilities ::

19250 30628 27616 40883 35168 19206 40641 40641 4064140641 40641


:: Flash News ::

29673 29673




$6

Prepaid customers
pay just $4 - how? Prepay Your Account With our deposit system not only will purchasing be much faster, but we’ll also take $2 off the price! Find Out More Price

You must sign in or sign up to purchase this item.

12345 ( 7 ratings )

Purchase 29 purchases

File Types Included
Flash 8 (8+)
Item Attributes
Created 3 February 08
Opens With Flash 8 (8+)
Resolution N/A
Published Size 6kb
ActionScript Version AS2
Documentation Some Help
Flash Files Included N/A