DoSite is a simple AS3 framework that helps you to create Flash microsites.
DOWNLOAD – DoSite v0.61 (4,2 MB)
The Library simplifies a lot of chores that occur during Flash-Website development, such as: sub-site creation, site transitions, content handling or external library connection (e.g. SWFAddress or Analytics).
Click on the image to see DoSite in action:
The basic idea:
DoSite allows you to distribute your project using independent swfs for each part of the website. The interplay between swf files being handled trough the framework.
(You can however use a single swf to carry all of your code using the embed method. See example “05_single_swf”.)
How it works:
In general DoSite uses two xml files to build the content of the website. The first defines the paths to the content of the website (the swf, jpg, xml files etc.), the second the composition (position, url, names etc.).
The framework than combines the content according to the “id” property of each xml tag.
The visual representation of the content is held in the “DoSite.container():Sprite” that can be added to the stage after including the content.
Every website element is either a fixed content (always visible) or a sub-site.
At runtime only one sub-site is displayed at once (!), although this might change in future releases.
Please take a look at the examples to get a closer look at how DoSite works.
Example 01 to 04 use the same layout and content to exemplify the functions of DoSite.
Example 05 however was created as a school project. The website had to run locally, which forced me to dispense external swf or xml files to avoid security restrictions.
I will extend this website with examples and documentations as DoSite evolves.
Have fun with DoSite,