flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duane Nickull <du...@uberity.com>
Subject Re: [Proposal] Missing Spark Components : Alert, ColorPicker, HDividedGroup, VDividedGroup
Date Sun, 11 Mar 2012 22:20:10 GMT
Having thought about the CP's for a while, I came to an opinion.  I used
to think that the uber-does-everything color picker was probably the best
idea.  Think of the Photoshop CP with all the different filters etc.
After using CP's in various projects though, I came to the conclusions
that there are probably 3-5 separate use cases for CP's ranging from
simple (light weight) to more complex (paint mixing on a tablet).  The one
I wrote is obviously the most simplistic but does run very efficiently and
is ultra small.  

My gut feeling is having a few different colour classes might be the
ultimate answer and let users pick which ones they want.

(hard to control for mobile, has good visual range.  Very nice)


(simple, efficient, requires user to know some theory about colour mixing,
source factored to persist selections across mobile views)


(more function, heavyweight, not suited for mobile IMO).

I'll hereby donate the source code for this to Apache:
Article - 
Source - 

It's 3kb and factored to persist colors (getters and setters) across
multiple views which in some ways makes it ideal for mobile.  Feel free to
use, modify at your discretion.

Duane Nickull

President/COO ­ Überity Technology Corporation
Adobe LiveCycle ES & Enterprise Specialist
Blog | http://technoracle.blogspot.com
Twitter | @Uberity @duanechaos

On 12-03-11 2:12 PM, "Martin Heidegger" <mh@leichtgewicht.at> wrote:

>On 12/03/2012 06:00, JP Bader wrote:
>> Martin - do you have the source code on git or google that we could
>> look into this?
>> I'd be happy to look at the CPs people have mentioned so far, review
>> complexity and Spark-ability, and write some unit tests to cover them,
>> and bring that to a whiteboard.
>> JP
>I just added it to github [1], but be aware its very raw code :)

View raw message