PureMVC Skeleton for Flash Applications / Websites

I have done a couple of site using PureMVC and Flash and it seems that at the beginning of a project I’m always doing the same things, creating the ApplicationFacade, the folder structure, the main fla, etc. I thought it might be useful to slap together a generic skeleton for a PureMVC Flash application or website. You can download it here:

PureMVC Flash skeleton

All you have to do is in the src/com folder, rename the folder PROJECT_NAME to your project, and do a find and replace in files for PROJECT_NAME to replace it with what you changed the forlder name to. I didn’t include the PureMVC library in there because I suggest fetching the files from the official PureMVC website so that you always get the latest version. Once you get them, put them in the lib folder and you should be able to compile.

The rar file contains the following:

  • Main.fla, Preload.fla
  • Main.as
  • ApplicationFacade.as
  • StartupCommand.as
  • ApplicationDataProxy.as
  • ApplicationMediator.as
  • IMain.as (Interface so that the preloader can use the init function of Main.as)
  • the folder structure

This should help save half an hour every new PureMVC project.

, ,

  1. #1 by Monkey - June 14th, 2009 at 00:40

    Nice One – thank you sir!

  2. #2 by 子青 - December 5th, 2009 at 09:56

    could u pls tell me about this package:::com.dairyfarmers,what is it for?

  3. #3 by arnon - January 13th, 2010 at 01:50

    couldn’t unrar the file

(will not be published)
Subscribe to comments feed