Posted in Design Patterns on February 26th, 2007 1 Comment »
With over twenty different design patterns available, it was difficult to decide which one to discuss first! After giving it some thought, I came to the conclusion that the simplest and perhaps most useful to a beginner Flash developer is the Singleton design pattern.
The Singleton design pattern is in the creational group of design […]
Posted in Flash on February 23rd, 2007 8 Comments »
Flash applications often (always?) need moving and changing MovieClip properties dynamically. This often requires the user to write multiple lines of tweening code to achieve a very simple result. For example, to move a MovieClip from its current position to point 0, 0 of the stage would require at minimum, […]
Posted in Flash on February 20th, 2007 1 Comment »
The FireEffect class will takes a MovieClip and uses some complex filter effects to achieve a very basic ‘flame’. In its current form, the flame is just a distorted version of the MovieClip itself. I use a simple orange fire graphic to get the best results. Using an image with a lot […]