Adobe’s KULER service is a perfect tool for creating balanced color schemes in dynamic flash applications, especially in apps where you want the user to have as much control as possible. Strangely, Kuler’s terms of use state that the service can’t be used commercially (although it’s beyond me why Adobe offers an API that you can’t use…). You can still use the service in non-profit flash apps and experiments.
Demo
To make using Kuler with flash actionscript 2 quick ‘n easy I created a simple XML parser specifically for parsing Kuler’s RSS feeds. You can download it here. You’ll need to request your own Kuler API key from adobe here
. How to use
Just copy and paste this code into your project. Put your own Kuler API key in there and add the name of the function you want executed after the feed has been parsed. The function will receive an array of themes. Each theme will have an array of colors in hex values.
var kulerlink = "http://kuler-api.adobe.com/rss/get.cfm?listtype=rating&key=YOUR_KEY_HERE";
var myKulerParser = new KulerParser();
myKulerParser.loadThemes(kulerlink, Delegate.create(this, initDemo));