Flash CS4 First Thoughts

Getting rusty with Flash authoring. Had to use Flash CS4 on a recent project and spent at least an hour searching for an elusive bug. I was adding instances of the Label component to a display list dynamically, and the last Label component kept disappearing. After a lot of trial and error, the solution was simple:

var label:Label = new Label();
label.autoSize = TextFieldAutoSize.LEFT;

I felt like such a newbie. Why autoSize is not “left” by default is a mystery (along with the useWeakReference default).

One thing’s for sure: After working with Flex Builder for two years, Flash CS4 is painful. No code-hinting, and no internal help system. What gives? If you press F1 in Flash CS4, it launches help in your default browser. What if you don’t have a network connection? No help?

This entry was posted on Tuesday, January 13th, 2009 at 4:28 PM and is filed under ActionScript. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply