Pages: [1]
  Print  
Author Topic: Version 2.4.5 / 2.4.6  (Read 1085 times)
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 1643



WWW
« on: September 01, 2008, 05:08:40 PM »

Gaia Framework for Adobe Flash v2.4.6
Release Date: 09.01.2008

You need the Adobe Extension Manager to install the mxp file.
http://www.adobe.com/exchange/em_download/

Gaia 2.4.6 Installer: Download

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.

2.4.6 Quick Fix
Gaia 2.4.6 fixed an issue in the API where setPreloader() did not have the asset parameter as optional, defaulting to null.


2.4.5 Overview
Gaia 2.4.5 is an AS3 update that makes targeting the content of assets easier by changing the return type of the content property to match the expected class.  This reduces the amount of code developers have to write when accessing the timelines of MovieClipAssets and makes using MovieClipAssets more intuitive and less prone to error.  The Wiki, ASDocs, and Asset Lesson have all been updated to reflect this change.


Content property moved from DisplayObjectAsset to individual Asset Classes
The content property is no longer available in DisplayObjectAsset and is now specific to BitmapAsset, BitmapSpriteAsset, and MovieClipAsset.  BitmapAsset and BitmapSpriteAsset both return flash.display.Bitmap and MovieClipAsset and PageAsset both return flash.display.MovieClip for their content properties.

If you are using IDisplayObject(asset).content or ISprite(asset).content, you need to change your code to be IMovieClip(asset).content, IBitmap(asset).content or IBitmapSprite(asset).content.

This means you no longer have to use:
Code:
// Pages
MovieClip(Gaia.api.getPage(branch).content).myMethod();
// Assets
MovieClip(assets.mySWFAsset.content).myMethod();
MovieClip(assets.mySWFAsset.content).someClip.x = 50;


Now you can simply use:
Code:
// Pages
Gaia.api.getPage(branch).content.myMethod();
Gaia.api.getPage(branch).content.someClip.x = 50;
// Assets
assets.mySWFAsset.content.myMethod();
assets.mySWFAsset.content.someClip.x = 50;


TweenMax 2.15
The newest TweenMax (released 08.31.2008) has been included.
http://blog.greensock.com/tweenmaxas3/
« Last Edit: September 09, 2008, 03:24:39 PM by steven » Logged

Steven Sacks | Gaia Author
If you like Gaia, please donate to the project!  Smiley
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0.5 beta 1© Bloc