Archive

Archive for September, 2007

Making the most out of Data Binding

September 10th, 2007

Data Binding is a great way to reduce unnecessary marshaling and marshaling code when manipulating data based on user input. Read on for some neat tips.
Read more…

Christopher Flex

Placing Cairngorm Commands inside Modules

September 8th, 2007

In order to reduce the size of the main application SWF, I have come up with some practices to keep as much code as possible in the module while still utilizing a single event dispatcher and service locator.

I accomplished this by creating a Cairngorm command to register other commands found inside modules. Read more…

Christopher Flex

Making use of Cairngorm ValueObjects

September 2nd, 2007

When I first started working with Cairngorm I didn’t really see the purpose to ValueObjects. I would just define my variables inside the event like many of the examples out there. Then I found an old blog post at richinternetapps.com and was convinced to give them a shot. Read more…

Christopher Flex

Modules Part 3: Adding a Fade In Effect

September 1st, 2007

When the module is ready to be displayed, instead of having it pop-up immediately you can have it fade in smoothly.

Read more…

Christopher Flex

Modules Part 2: Using ModuleManager

September 1st, 2007

The downside to the ModuleLoader component is that you do not have control over when your module is loaded unless you start messing with creationPolicy=”all” but we won’t go there. Instead, you can use the ModuleManager to load your modules when your application is initialized.

Read more…

Christopher Flex

Modules Part 1: Using ModuleLoader

September 1st, 2007

As your application grows, you may find the initial download time becomes unbearable. The solution is to break your application up into separate SWF modules.

Read more…

Christopher Flex