Search  

COLOR PIXEL COMPONENTS

HomeBrowse CategoriesFlashComponents & ExtensionsColor Pixel Components

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

Posted 7 months ago

nice!

Posted 6 months ago

Great file :)

Posted 6 months ago

well done… :)

Posted 6 months ago

Hey nice file! Let’s say I want to change the color of the scroll bar or scroll handle without changing the entire stage. Possible with this file? And again, it seems like a very useful component. Myykk :)

Posted 6 months ago

Sweet.

Posted 6 months ago

really useful, great !

Posted 6 months ago

@Myykk

It’s possible.

Posted 6 months ago

Wow. I have wanted something like this so many times. I’m sure I will be buying it soon. Great job with the file size!

Posted 6 months ago

Does this component work in flash6 players? I am looking for a color control since ages but most require flash 8 player which is sadly not an option for me.

Posted 6 months ago

MWCD

Flashplayer >=8.0

Posted 5 months ago

backgrond transparent?

Posted 2 months ago

@mdesign
There is no such possibility. but I can make some more extra money :)

Posted 2 months ago

This is awesome! Literally copied it from the fla I downloaded and onto my stage. 5/5

Thanks Kris :)

Posted 28 days ago

Looks like I am doing some stupid mistake, but when I copied component from your .fla file it just do not work. :(

when I click on button – nothing happens.. :( Using Flash CS3 new movie profile – Action Script 2.0, Flash player 8 no action script errors, just trace message change Color = 0×486f82

demo movie you have provided works ok. new movie in the same folder with exactly the same structure – do not work. Color changed, but I do not see popup with other colors selection.

Any ideas of what could it be?

Posted 26 days ago

OMG , I am stupid :)

After spending a hour on your code and tracing everything (btw, nice chance to look inside on MVC model – I am always planned to learn it :) ) I have located problem. Code

this._container=ContainerView(target.attachMovie(“_container”,”_container”,2))

Didn’t actually attached anything. Quess why? Yep, because I have copied your component directly on stage instead of coping all library items to my library.

works great now. :)

Posted 26 days ago

@zhil – I wish good luck

Posted 26 days ago