Selecting the color source for color picking



1. You have to complete the “Create a simple Color Picker” tutorial before continuing with this one.

2. Open Macromedia Flash, create a new file (File/New/Flash Document) and look for the Color Picker component in the Components window (Ctrl+F7 on Windows; Command+F7 on Mac) on the V3 Components - Jumpeye.

3. Your Color picker can choose a color not only from its own palette, but from other spots too (like the rest of your stage or from a specific movie clip).

4. If you choose the value other for the colorSource parameter, in the Parameters tab of the Component Inspector, the color picker will only recognize colors inside the color palette and another movie clip present on the stage :



5. Now you need a movie clip to load the colors from. I’ve drawn a rectangle with several colors, convert it into a symbol, set it’s instance name to movieclip and wrote it’s instance name in targetSourceClip tab from Component Inspector like this:



6. Hit Ctrl+Enter to generate your swf file :





Note that you can only select colors from the external movie clip or from the picker’s palette

7. Set the colorSource parameter, in the Parameters tab from Component Inspector, to stage. In this case you are allowed to select colors from the color palette and any other spot on the stage, outside the component’s window (including the blue movie clip) :



Download the source files for this tutorial


FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign