Plugging in External Classes to Gaia Framework Files

Posted: June 19th, 2009 | Author: Liza | Filed under: As3, Flash, gaia framework | Tags: , | No Comments »

I probably go on about Gaia Flash Framework, its mainly because that’s what I used to learn AS3 and I’m still figuring it out.

One of the main problems I have with it is plugging in external classes to the Gaia packages.

These are the basic steps to adding an external class, ill be updating this if I find any more issues.

1. Import the class to the main package import area.
2. Create individual private variables for any of the class instances or movie clips.
3. Instantiate the object in the constructor
4. Add the function to the list.

Also don’t forget to add any movie clips (and instances) onto the stage and create linkages in the library if necessary.

If you get a 1009 error its probably because you havnt published the project.


Accessing the stage in Gaia Framework

Posted: June 14th, 2009 | Author: Liza | Filed under: As3, Flash, Uncategorized, cs3, cs4 | Tags: , , , | No Comments »

I have had alot of trouble trying to access the stage from Gaia Framework, but thanks to David, I’m finally getting the hang of it.

I needed to access the stage width (when resized) to create a a bar to sit behind the navigation on my site.

First I had to add this to the class constructor:

addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);

Then create the following 2 functions:

private function onAddedToStage(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
stage.addEventListener(Event.RESIZE, onResize);
onResize();
}

private function onResize(event:Event = null):void
{
navBackBar.width = stage.stageWidth;
navBackBar.x = 0 - ((stage.stageWidth - Gaia.api.getWidth()) / 2);
}

navBackBar is the name of the movieclip on the stage.  You can see it behind the navigation on my site.


5000: Error migrating from CS3 to CS4

Posted: June 14th, 2009 | Author: Liza | Filed under: As3, Flash, cs3, cs4 | Tags: , , , , , | No Comments »

I have moved more than 1 Gaia Framework file from Flash CS3 to CS4 and got this error.

5000: The class ‘Work’ must subclass ‘flash.display.MovieClip’ since it is linked to a library symbol of that type.

The solution is to import the MovieClip class into the import area and to extend the main class as a MovieClip.

In my case from this:

public class Logger
{

to this:

public class Logger extends MovieClip
{


Busara Showreel

Posted: May 7th, 2009 | Author: Liza | Filed under: After Effects, Busara | Tags: , , | No Comments »

This is a show reel David G and I have been working on for Busara.
It was a really good learning curve for me in After Effects and using Trapcode Plug-ins.
Watch out for when the Techno kicks in- its HARDCORE!


Stella McCartney Chandelier Horse

Posted: April 23rd, 2009 | Author: Liza | Filed under: cool stuff | Tags: , | No Comments »

This is so lovely, I have seen this done a few times before, at Westfield White City actually, but the shape is so intricate in this one, its beautiful.

6a00e5523125aa883401156fdbb5fb970b-500wi

Source


Time Remapping In After Effects

Posted: April 23rd, 2009 | Author: Liza | Filed under: After Effects, Tutorials | Tags: , , | No Comments »

I was trying to freeze a frame in after effects and it wasn’t as straightforward as I had hopped.  But thankfully there are lovely people who do tutorials on this sort of thing on YouTube.

Thanks aelearning, you are a diamond in the rough.


Sound Not Working On Render In After Effects

Posted: April 22nd, 2009 | Author: Liza | Filed under: After Effects, sound | Tags: , , | No Comments »

After effects CS4 seems to output (by default) a rendered composition with no sound.  I finally found out how to fix it, if you click on the module (loss less) in the render queue, tick the audio output before you render.

Render With Sound

Happy Days!


Extreeme Staxx

Posted: April 21st, 2009 | Author: Liza | Filed under: Busara, Final Cut, Uncategorized | Tags: , , | No Comments »

This was a great Job for me to get my head around Final Cut Pro, I had used it before to edit a corporate video, but i did this really fast as a xmas special of our snowbording trip last year.

Man I wish I bought a HD camera when I had the chance, I’m the one wearing JEANS.


Flash AS3 Print Job Class PC Error

Posted: April 21st, 2009 | Author: Liza | Filed under: As3, Flash, Printing | Tags: , , , | No Comments »

I had a nightmare week trying to figure this problem out.  Basically i was printing 4 pages from what appeared to be a really unstable xml file in a flash swf.  Initially I thought it might have been special characters in xml or a problem with the Print Job Class.

I had no idea why the print job class worked (for 3 pages or more) on a MAC and not a PC.  after investigation by a few of our developers it was kicking up an error about “Timing out”, and there was a pretty simple solution.

It was timing out because the script time limit was too short for a PC to process more than 3 pages at a time, so i increased the script time (in Publish Settings)  to 60 seconds and it worked.

Publish Settings

Nightmare Over