splash
Posted By erik on April 14th, 2010

http://blog.eerkmans.nl/?p=241

Me and the guys from Bureau BlauwGeel have been working together on their new website: http://www.bureaublauwgeel.nl
 

The CMS-based website uses video files to create a dynamic, living and breathing background.

Each menu item has a background image that slowly zooms in to keep that dynamic feel.
 
Although the background and interface always adjust to the size of [...]

 

Archive for January, 2009

Using Kuler palettes in flash

Posted By erik on January 5th, 2009

kulerlogo

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

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

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));


function initDemo(aThemes : Array):Void {
trace("theme colors: " + aThemes.toString());
}