Your Ad Here

Recently in Flash Category

Disclaimer: This post has not been authorized by my employer, and any opinions are my own, and are not intended to construed as representing official opinion of EyeWonder, Inc.

While developing the next version of our ad authoring tool, I noticed a major performance issue that will affect a lot of people that use LocalConnection .. LocalConnection is slow in Flash Player 10.1! AdWonder uses LocalConnection for several things, but its primary usage is for "logging". The ubiqutious EW.sendToPanel call in our ads, which sends text to the output panel, now has a noticeable delay from when you send the command in the ad until it hits the output panel. This isn't just me, Tinic Uro from Adobe has confirmed this in his blog posting: There's not an approximate 33ms delay from when the call is made until its processed in Flash Player 10.1!
While reading Sean Moore's blog post on performance improvements to ActionScript 3.0, I decided to chime in on another one that has drastic performance improvements:

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!

Going to Adobe MAX...

| No Comments | No TrackBacks

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();
}

}
}

About this Archive

This page is an archive of recent entries in the Flash category.

DHTML is the previous category.

Flex is the next category.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 5.01