Wednesday, April 6, 2005
Macromedia Flex Programming Tips
With practice, trial and error, a programmer picks up tricks that work well for them. In order to help others save time trying to find these tricks on their own, many programmers share their tips. Here are a few of mine:
- When you want a label to the left of a control, instead of using a HBox container, then adding your Label and control, use a FormItem container since it has the label attribute built in.
- Controls are rendered from the inside out, sizing being calculated on the fly by Flex. While this may be useful in many cases, it can also slow down compilation of your application. Whever necessary identify explicit height and width values. Always be sure the contents are fully visible however.

