Gaia Framework for Adobe Flash v3.1.0 / 3.1.1
Release Date: 04.21.2009
You need the Adobe Extension Manager to install the mxp file.
http://www.adobe.com/exchange/em_download/The Gaia 3.x panel works with Flash CS3 and CS4. Flash 8 is no longer supported.
Safari Users: Right-click and Save As.
Important Installation Notes- 1. Save the MXP file to your desktop first and then open it. Do not choose "Open" from the browser as some people have reported failed installs when they do this.
- 2. Close Flash and trash the previous Gaia installation before installing the new version. The Adobe Extension Manager can be buggy when updating a component that is already there.
- 3. You must delete your ASO files before scaffolding your first project with a new version of Gaia, or after updating an existing project fiolder with a new version of Gaia. It's in the top menu under Controls > Delete ASO Files.
- 4. After you delete your ASO files, make sure you republish all the Flash files in your project after updating to a new version of Gaia.
- 5. You should also delete your browser's cache before testing your first project in the browser with a new version of Gaia, or after updating an existing project with a new version of Gaia.
3.1.1 Quick FixGaia 3.1.1 fixes the issue with folder paths where the classes folder is contained within the folder where the Flash files were. For instance, if you use "src" and "src/classes" it will now work properly. The panel also has a button on the initialization screen in case it fails for some unknown reason (I think it's a timing issue on some machines, so I delayed the init code for 500ms, as well). You can click it if the panel does not initialize for some reason. I'm not 100% that this will solve it, but I'm hopeful it will. Please let me know if you have any issues.
3.1.0 OverviewGaia 3.1.0 adds some great panel updates including relative class path injection, custom class path support in templates, spaces in folder paths, a new API method getSitePosition, removes some development code I accidentially left in SiteModel, and some minor code changes in preparation for the upcoming HaXe version of Gaia!
Panel: Relative Class PathThe Gaia Panel code has been updated to inject relative class paths into .fla files instead of the entire path, as described on
this thread.
Custom Class Paths RemainIf you put custom class paths into your template Flash files, Gaia will no longer overwrite them and instead will keep them in the class paths, as per
this thread.
Spaces allowed in folder pathsSpaces are now allowed in folder paths. Sorry for not including this sooner. The folder path fields now have improved validation, with certain invalid folder paths no longer being allowed.
GaiaMain _$WIDTH and _$HEIGHT renamedI have renamed these private properties to __WIDTH and __HEIGHT. The reason for getting rid of the $ is because HaXe doesn't like them (the HaXe version of Gaia is currently in development). The reason for double underscores is because AS2 doesn't like single underscore and I wanted to keep it consistent between versions. Updating a current project will rename it in Main.as, but if you're referencing _$WIDTH or _$HEIGHT anywhere else, please change it to double underscores.
New API Method: getSitePosition():ObjectThere is a new API method, getSitePosition() which returns an object with properties x and y. This returns the x,y position of the main site Sprite (AS3) / MovieClip (AS2), which is adjusted when you use site centering. A lot of people have been asking how to access these properties, and now there's an easy way to do it!
AS3: SiteController adds Preloader asset loader instead of loader.contentThis change is unlikely to affect anyone unless you're using relative paths to reach up from inside your preloaders. This change allows the HaXe version of Gaia to work properly, and also brings the preloader clip in line with the way everything else in Gaia works (it was the only place it added the content instead of the loader).
Removed validateSite() from SiteModelI accidentally left some old test code in SiteModel that calls a php script that returns the current version and thankfully a few people reported it to me. PLEASE update your sites to Gaia 3.1.0. I'm changing the php code to just call exit(0) so you don't end up with 404s on older sites that you are not able to update.