Currently Reading

Image of Derivatives Demystified: A Step-by-Step Guide to Forwards, Futures, Swaps and Options (The Wiley Finance Series)

Image of Working Effectively with Legacy Code (Robert C Martin)

Image of Coders at Work: Reflections on the Craft of Programming

Image of Succeeding with Agile: Software Development Using Scrum (Addison-Wesley Signature)

Image of iPhone UK: The Missing Manual

Image of My Shit Life So Far

Recently Read

Image of Beginning iPhone 3 Development: Exploring the iPhone SDK

Image of Cloud Atlas

Image of ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)

Image of UML 2 for Dummies

Image of The Secrets of Consulting: A Guide to Giving and Getting Advice Successfully

Image of Test Driven Development (The Addison-Wesley Signature Series)

Image of Test Driven: TDD and Acceptance TDD for Java Developers

Image of Advanced Actionscript 3 with Design Patterns

Image of Refactoring: Improving the Design of Existing Code (Object Technology Series)

Image of iPhone Advanced Projects (Books for Professionals by Professionals)


June 24, 2008

Custom Color Picker Source

Filed under: ActionScript, Components, Flex — Anthony @ 12:56 am

Some time ago now I decided as a self improvement mechanism to re-write one of the Flex components from scratch so that I could get my head around the Flex Component Framework. So I set my eyes on the ColorPicker Brave or stupid you decide as this was going to be one of my first components ever, I should have probably started somewhere a bit smaller.. But hey.. It works and I learnt a hell of a lot. and now it's time to share. I haven't looked at the code for this in a long long time so be gentle.. In addition there are many improvements that could be made, and I fully intended on implementing them, unfortunately time has got the better of me and I have no real reason to implement such things as multiple rss feeds ( kuler is really slow and not 100% reliable ). A choice to use squares / balls .. anything else you like as the renderer for the colors.

However it does have lots of other cool features like::

Color grouping

Nice shiny 3D balls for the color swatches.

Kuler Lookup facility ( optional just set Kuler = true/false );

Can be used exactly the same as the Flex Color picker so you can just swap it into existing projects.

OK Just right click to view the source

This is mostly based on the Flex Color Picker so feel free to use it in your own projects improve it and just give me a shout as I would love to see it implemented in real life projects personal or otherwise.

1 Comment »

  1. [...] You can see the outcome and view the source of that in my previous posts from a couple of years ago here and [...]

    Pingback by BetaDesigns( Blog ).toString( ); » Converting a MX component to a Spark Component. — June 10, 2010 @ 12:28 am

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .