Built-in Flash Components (like a ComboBox) - Parent and Child SWFs

August 25th, 2007

A co-worker of mine, Erin Coker, posted a very useful read at the Unleash the Wonder Blog

Basically deals with how to properly use MX V2 Components inside child SWFs in a Flash document

Posted in Flash | No Comments »

ActionScript 3.0: Events for Static Classes

March 17th, 2007

Normally, a static class in ActionScript 3.0 can’t dispatch events, since you can’t inherit from EventDispatcher or implement IEventDispatcher if the functions are a static.

However, with ActionScript 3.0, you can create an EventDispatcher object to do the dispatching for you!

package {

 import flash.events.EventDispatcher;

 public class StaticEventDispatcher {
  public static var eventEngine:EventDispatcher;

  public static function initialize():void
  {
   eventEngine = new EventDispatcher();
  }

 }
}