Recently in Flash Category
In AdWonder, we use SharedObjects to persist local data (settings, local ads, etc..). So when it came time to start optimizing the latest version (9.4) for performance ( a major theme of this release.. faster, easier, smarter ), we noticed that opening the SharedObjects had the biggest drag on performance! Almost 100ms for each instance (this adds up as you can imagine). So, all of you ActionScripters out there, if there's a SharedObject you are storing data in, open it once, and store the SharedObject instance somewhere to reuse it. You and your users will love you!
I will be at Adobe MAX from November 16th to November 20th. If you want to meet up with me in San Fransico, please let me know!
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
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();
}
}
}
