Harish Sivaramakrishnan

Platform Evangelist @ Adobe

Simple Flex4 color swatch using Spark List

2 comments

I was just playing around with the Spark List component of Flex4 framework today. Wanted to build a simple swatch panel using the component. It was *much easier* than what I thought. With about 30 minutes of coding, I could get a basic, yet functional color swatch panel. Yes, doing this with the Spark List is insanely simple! Check out this simple demo

Swatch Panel

Select a color from the swatch panel to change the background color of the Application.

You can download the source code (as fxp) here (There isn’t a lot of code, and usual caveats apply as this is just 30 minutes of work and is vastly untested:) ) TODO’s include allowing customization of itemrenderer sizes and regular skinning capabilities of Spark controls. Will do those iteratively.

Written by Harish Sivaramakrishnan

January 19th, 2010 at 9:09 pm

2 Responses to 'Simple Flex4 color swatch using Spark List'

Subscribe to comments with RSS or TrackBack to 'Simple Flex4 color swatch using Spark List'.

  1. Hi Harish,
    We had me you in Millennium School in Pune after the php boot camp. We had a little discussion about how to encrypt FLV files etc.

    Wanted to ask you – How is it possible to load a encrypted flv file directly in memory decrypt it and play it from the memory. I am not finding any ways to do it ( even using netstream and netconnection class)

    Please help :(

    anvit phatak

    21 Jan 10 at 8:05 pm

  2. Hi anvit: I am travelling through next week, will send you an email once I am back. Thanks for writing in.

    Harish Sivaramakrishnan

    21 Jan 10 at 11:45 pm

Leave a Reply