MCVC Controller - Part 3

December 26th, 2007

The controller is the glue that holds your application together. It facilitates communication between views and Models as well as Models to other Models. This controller also over comes one of AS 2.0 fatal flaws; the event system.

Read the rest of this entry »

MCVC Model - Part 2

December 26th, 2007

So you learned how to handle a model’s name, as well as passing in a config object and bind the model to the controller here. Now we will move on to the real fun like loading xml data into the model and understanding its’ timers as well as the event system.

Read the rest of this entry »

MCVC Model - Part 1

December 26th, 2007

The core part of my MCVC system is the BaseModel class. In this system it represents a core data class with no visual representation. All data classes are extended from this class and are responsible for loading xml data, parsing that data, managing the data/state of the supporting classes (such as Views and Components) and handling the receive/sending of events through the controller binding. Here is how it works. ** Warning but this post is long and is a continuation from this post on MCVC. **

Read the rest of this entry »

New Macbook Pro = FAST!

December 25th, 2007

Just got my new Macbook Pro 2.6 with 4 gigs of ram and a 200gig HD (Nerd) and been running it for the better part of a day. It’s really fast; a noticeable difference from my black Macbook 2.0 with 2 gigs of ram. One thing I noticed about Leopard is Flash and PhotoShop CS 3 windows and toolbars have trouble redrawing and sometimes look completely grayed out until you click on them. Not sure if this is happening in all Adobe programs but its annoying. I am also having trouble installing Windows through BootCamp but I think that is a Windows issue and not my laptop

Since it was tax time and I needed the deduction I feel like it was a good investment. Here is a link to where I got it from for only $3,060 (no tax). Thats not bad considering the same configuration on Apple’s site would have been at a lot more. There are only a few days left in the year so if you need deductions go and get them!

AS 2.0 MCVC Template

December 25th, 2007

For the past year I have been building most of my AS 2.0 applications on top of a standard class template system I developed called MCVC. I thought it would be nice to share it with everyone now that I have moved over to AS 3.0. To my surprise there are still a great deal of developers using AS 2 so I hope this is helpful. I do have to warn you that this is a small complex system of 4 class templates to help you rapidly build applications off of. In order to leverage its speed and functionality you have to follow the system exactly. This is not for everyone

Read the rest of this entry »

Happy Holidays

December 24th, 2007

For the past 2 days I have been posting all of the code I haven’t had a chance to push out yet. I am lucky enough to have this and the next week off so I will try to get a lot more up in that time. In case you missed it, here are some of the code samples I have posted:

AS 3 Custom Event

December 23rd, 2007

For years I avoided the event system in AS 2. It was horrible and it couldn’t keep it’s scope. Now that I am working in AS 3 I am trying my hardest to like the new event system and event class. Unfortunately it is missing one thing I always needed it to do, pass off data or an object along with the event. Here is how I get around it.

Read the rest of this entry »

InteractiveItem Base Class

December 22nd, 2007

While building the NapkinNotebook site I needed a flexible View Class that all of the animated objects on the stage could be extended from. This is the class I decided to go with.

Read the rest of this entry »

Scribble Class

December 22nd, 2007

I am sure by now you know about the NapkinNotebook website I did for Euro RSCG but what I haven’t had a chance to show you yet is some of the code behind how it works.

Read the rest of this entry »

External Runtime Library Update

December 22nd, 2007

I just built a utility that will allow you to dynamically load in a swf with library assets and pull them out to use them anywhere in your application. This is the evolution of this code example from Adobe. Here is what you need to know to get it up and running quickly:

Read the rest of this entry »