Gauge and LightGauge source available + Color util
I’ve finally got around to publishing the source for the Light Gauge, it can be found here. The zip file also includes the source for the original Gauge component.
In the process of creating the Light Gauge, I came across a bit of a hole in the Flash/Flex class libraries. There is no proper color class that handles things like RGB-HSV conversion etc. So I’ve started on the beginnings of a Color class, At the moment it just does a few simple things like RGB->HSV and some basic functions to help with creating gradients. On the to-do list are things like CYMK, complementary colors, HSL, color temperature, and more. It can be found here.
To demonstrate the HSV capabilities of the class, there is also a Color Explorer.
Posted in Flex Components | 9 Comments
June 4th, 2007 at 10:14 pm
[...] –Update: Source is now available here [...]
June 21st, 2007 at 9:48 am
Hello,
Would you please state what license applies to the code you post here?
Is it fair to use and extend it in an open-source application?
Cheers,
Philip Flip Kromer
June 21st, 2007 at 10:29 am
I’m inclined to go with a “do whatever the hell you want” style of license. So I’ll use the MIT License.
So it is fair to assume that you can use and modify the component in any application. I have updated the source code for the Gauges to include a license file.
It would be great to know where the components are being used so I can see them in action. So send me a link to your project when it’s done.
January 16th, 2008 at 6:49 pm
Excellent ! This is what I needed. Thanks.
March 12th, 2008 at 9:01 am
Nice job. How do you set the begin/end bar widths like you can in your demo (the one that lets you play around with various settings)? By the way, is the source for the demo available?
March 12th, 2008 at 9:34 am
Never mind, just found the lightWidths attribute
April 27th, 2008 at 4:36 am
Source is now available
October 28th, 2008 at 1:03 am
Well said.
July 23rd, 2009 at 8:00 am
Awesome components. Exactly what I was looking for.