Jan
26
2009
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.
5 comments | tags: Actionscript 3, Flex 3 | posted in Flash Platform
Sep
27
2008
John C. Bland II
I saw this on MySpace but have increasingly seen it more and more lately on numerous sites.
Continue reading
2 comments | posted in Flash Platform
Sep
18
2008
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
2 comments | posted in Adobe AIR, Projects
Sep
18
2008
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.
2 comments | posted in Adobe AIR
Aug
25
2008
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
no comments | posted in Flash Platform