Jan 31 2009

Upgrading AIR app to AIR 1.5/Flex 3.2

John C. Bland II

Ok…this was boggling for a minute but thanks to my good buddies Google and the public Flex bug system I found the problem. It was a tough search so I figured I’d post here to help.

Continue reading


Jan 28 2009

AS3: Rounding to nearest N

John C. Bland II

This really would work in any language, heck even on paper, but the code will be AS3 so figured I’d label it an AS3 post. Short and sweet though…here is how you can round to the nearest number in ActionScript.

Continue reading


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.


Jan 24 2009

I’M BACK!

John C. Bland II

Where have I been? I’m glad you asked. For the past 6 months I’ve been SLAMMMMMED with work, server transitions, and with Movable Type issues. :-) I’ve been itching to blog but I didn’t want to blog on the old server (would need to transfer files, etc for my site again) then after getting the new server up I had MT issues that were nerve wrecking. Today I nixed the last MT issue, after having setup this WordPress blog weeks ago, and exported my old blog only to import here. I’m loving WP 2.7 and am ready to start blasting off blog posts again.

Anyways…look for me to start blogging again very shortly. I have a lot of lil’ code stuff to post.

HOLLA!


  • Get Adobe Flash playerPlugin by wpburn.com wordpress themes