So today I am starting to build a small site using the Gaia Framework.
The first thing I noticed is that when creating assets, the asset ID has to be alpha-numeric, so the following:
- won’t work at all. It has to be:
No dashes.
No ending with a number.
If you are a designer or a developer/designer, you might be still using the Flash IDE (instead of Flex) and so, from time to time, you’re still using “instances” on the stage.
However, if you’re a designer that works with developers, you will probably be asked to turn off the setting, “Automatically declare stage instances“.
Once you uncheck this box, in your class file you have to create a public variable with the same name as your instance:
public var my_graphic_that_is_on_stage:Star = new Star;
If you make this private instead of public, you will get the following nasty error:
ReferenceError: Error #1056: Cannot create property
my_graphic_that_is_on_stage on MyLoadedMovieClip.