New Flash Project template
August 13th, 2007
Download my “New Flash Project template”
download “new-flash-project.tar.bz2 12.7 KB”
download “new-flash-project.zip 16.5 KB”
I created this as a template to quickly create new flash projects with common files, directory structure, and configuration.
This template is already set with classpath configured, UFO script for embedding flash files in web pages, the Layout and Model classes, configuration file (cfg.as), flash project file (project.flp), and a few other helpful tools ;)
This template contains:
- [audio] (sound effects and bgm .mp3)
- [bitmap] (source images that are used for flash movies .png)
- [classes] (all actionscript classes .as)
- cfg.as (configuration file for flash project)
- layout.as (layout loader, loads movies from /layout)
- main.as (main script, everything starts here)
- models.as (model loader, loads movies from /models into loaded layouts)
- RMXml.as (an extended XML class)
- [images] (images for the page that embeds this flash project .png)
- [js] (javascript files for the page that embeds this flash project .js)
- pngfix.mod.js (from maxtoroq.wordpress.com)
- ufo.js (ufo page)
- [layouts] (layouts here .fla .swf)
- [models] (models in here .fla .swf)
- [stylesheets] (css files .css)
- [xml] (xml files .xml
- index.html (sample page that embeds main.swf using ufo and includes a modded pngfix.js for any translucent images (32bit pngs))
- main.fla (main flash file, the only thing that needs to be edited is the dimensions don’t forget to modify the ufo script (index.html) to match the new size)
- project.flp (flash project file, start here)
this should get you started pretty quickly.
glhf





July 2nd, 2008 at 07:46 AM
I need to use a preloader with this, can explain how can I add it?