A simple design pattern I utilize often is the Singleton Design Pattern. There is a descent amount of code needed to generate a proper singleton class in ActionScript. I’ve created a nice template for FDT which will help to quickly create a Singleton class for AS 3.0.
This was a little tricky to figure out. I needed to make a Spark Label truncate the text if it exceeded the given bounds of the Label. But on the documentation for the Label there is only a few mentions of the word truncate in the description of the class. It tells you: