Pages: [1]
  Print  
Author Topic: Version 3.1.7  (Read 3628 times)
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3181


gaiaframework
WWW
« on: September 03, 2009, 06:39:31 AM »

Gaia Framework for Adobe Flash v3.1.7
Release Date: 09.03.2009

This version no longer available


3.1.7 Overview
Gaia 3.1.7 has a bunch of improvements. You can now set a version for your site to force reloading of swfs.  You can set domain in the site node for the entire site so you don't have to do it on a per page basis.  The Pages class now has every page in the site.xml.  setPreloaderDelay now works with the asset preloader.  afterComplete no longer takes a hijack argument.  The DeMonster Debugger class is now distributed with Gaia. SWFObject has been updated to 2.2. Thunderbolt has been updated to 2.2.  The event metadata had incorrect class paths. Gaia header comments have been removed from scaffolded page classes.  Finally, on Windows a FlashDevelop project file is automatically generated when you create a new project.


Site Version
You can now set a version attribute in the site node of the site.xml and Gaia will append that version to URLRequests so that you can force an entire refresh of a site by changing the version.  The appended value is "gaiaSiteVersion=" + version.  I thought "version" might be something used by backend scripts so I wanted to have something very specific to Gaia.  If you'd like to change it, you can modify CacheBuster.as.

AS3: Site ApplicationDomain
You can now set the domain for the entire site, instead of just a per page/asset basis.  The same rules apply as to pages/assets.  Make sure you understand what you're doing when using this feature.  ApplicationDomain is an advanced Flash feature.

Pages class now includes all pages in site.xml
The Pages class now contains every single page in the site.xml, not just the terminal pages.  Being able to access non-terminal pages is important.  If the page does not have a route or title (non-terminal pages often do not), it uses the id of the page as the name of the constant.  If there are duplicate ids, it will append a _1, _2 to the end of the duplicates.

setPreloaderDelay now works with Asset Preloader
setPreloaderDelay is now universal for all preloading on the site.  Previously, it was only setting the delay on the branch preloader.

afterComplete no longer takes three arguments
Because you cannot hijack afterComplete, the hijack argument did not serve a purpose and so I have removed it.  The second argument is now for onlyOnce.  If you have code that uses afterComplete with onlyOnce=true, make sure you modify it after updating to 3.1.7.

AS3: DeMonster Debugger
DeMonster Debugger is now distributed with Gaia AS3.  I have not yet integrated it with Gaia, but the class is now there if you want to use it.  It is not compiled if you do not use it.  Detailed instructions on how to use De Monster with Gaia are available in the De Monster Debugger AIR application's Help.

SWFObject and Thunderbolt updated to 2.2
SWFObject has been updated to 2.2, and Thunderbolt for AS3 has also been updated to 2.2.

AS3: Event Metadata Class Paths Fixed
The event metadata tags were incorrectly using com.gaiaflashframework instead of com.gaiaframework.  Special thanks to the awesome new Adobe PMD tool for this catch.

Gaia header comments removed from scaffolded pages
I didn't see the need to bloat files or blur the line between what is Gaia Framework code and what is your site code for GPL licensing purposes, so I have removed all Gaia comments from scaffolded page classes.

FlashDevelop for Windows users
If you're on Windows, most likely you use FlashDevelop. When you create a new project, Gaia now generates a FlashDevelop project file named after the project.


A quick note about Flex.  I attempted to include Flex Builder project files for Gaia projects, but Flex has a bad side effect when you import the project of generating the main.swf as Main.swf, as well as including its own html files, js files, and express installation swf.  I will include Flex support in a future version when I have more time to modify the panel.  It will include a warning about the side-effects of using Flex Builder.
« Last Edit: September 13, 2009, 07:50:08 PM by steven » Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc