Jan 26 2009

Flex 3: Setting List component itemRenderer

John C. Bland II

In MXML you can easily set the itemRenderer to the string of your class, including dot syntax classpath, but in ActionScript it is different.

_list = new List();
_list.itemRenderer = new ClassFactory(IndexRenderer);
addChild(_list);

As you see the ClassFactory class is used because itemRenderer expects an IFactory implementation.

Just a quick tip.


Sep 27 2008

MySpace, SecurityErrorEvent is your friend!

John C. Bland II

I saw this on MySpace but have increasingly seen it more and more lately on numerous sites.

Continue reading


Sep 18 2008

Introducing SoMo-AS

John C. Bland II

For the longest I’ve been writing code but I never packaged my common code into a library. Well, that comes to an end.

Continue reading


Sep 18 2008

AIR Tip: Getting Logged In Username

John C. Bland II

Just a quick tip here:

bq. var username:String = File.userDirectory.name;

So far I know it works on Mac/Windows but I haven’t tested Linux.

Hope it helps.


Aug 25 2008

GTween: Quick Review

John C. Bland II

One of the easy things to do in Flash is tween but it never hurts to make an easy thing easier and that’s exactly what Grant Skin…errr…my bad…gSkinner (hehe) has done. So, maybe it doesn’t suit you, heck…might not suit me all the time, but I would say it is at least worth a look.

Continue reading


  • Get Adobe Flash playerPlugin by wpburn.com wordpress themes