Archive for September, 2008

Let users pick their own theme with Kuler API

Thursday, September 4th, 2008 | Actionscript 3, User Interface | 2 Comments

Kuler is a simple adobe web app that lets users create a pallete of 5 complementary colours, others can then view, download, rate and comment on these themes.

The Kuler API is a fantastic resource to gain access to these themes, so why not allow users to easily theme your flash application with a simple button click.

Here’s a mini demo so you can give the gist.

And of course… the source code

The API Documentation for Kuler can be found here…

Tags: ,

Great UI Design Article

Tuesday, September 2nd, 2008 | User Interface | No Comments

Steve Krug’s “Don’t make me think” should be mandatory reading for everyone working in new media. But for anyone who needs convincing, this article is an example of the kind of things it covers – obvious but so often missed.

http://glyphobet.net/blog/essay/269/trackback

Tags: , ,

Quick Tip: AS3 Function parameters…..

Tuesday, September 2nd, 2008 | Actionscript 3, Quick Tip | No Comments

In old AS1 / AS2 you could get away with not passing all the parameters to a function, AS3 on the other hand has none of it.

But what you can do is asssign default values for each parameter so you don’t need to pass a value it.

i.e.

function hideObject(child:DisplayObject,fadeOut:Boolean=false):void
{
   if(fadeOut)
   {
      //fadeout Tweener code
   } else {
      child.visible = false;
   };
}

hideObject(target);//would instantly hide target
hideObject(target , true);//would override default value and so fade

Tags: ,

Search