Tag Archives: AS3

AS3: Inline graphics using Text Layout Framework

A little bit of history Few days ago I was working on something which required graphics and text in same line. The text and graphics were fully dynamic. At first I thought it’s a 15 minutes work, as TextField supports … Continue reading

Posted in AS3 | Tagged | 9 Comments

AS3: Load assets dynamically for better performance

Asset management is a crucial point of every game. These assets may include bitmap images, audio and video files, animations, 3D models etc. etc. Depending on the size of the game there might be hundreds of such assets. How these … Continue reading

Posted in AS3 | Tagged | 5 Comments

Implement a true Singleton in AS3

Singleton is a design pattern that enforces that a class can have only one instance which is shared by all and provides an easy global access point to this. A few examples are: In iOS the UIDevice class is a … Continue reading

Posted in AS3, Design Pattern | Tagged , | 6 Comments