How do I set up a self preloader in flash cs5 using as3?
It seems to ignore [Frame(factoryClass=“com.path.to.Preloader”)]
and I when I try to use a technique like this http://www.gamepoetry.com/blog/2008/10/05/the-last-preloader-youll-ever-need-really/ I get an error
ReferenceError: Error #1065: Variable VARIABLENAME is not defined.
at global/flash.utils::getDefinitionByName()
unless I reference the variable inside the preloader code which defeats the purpose of having a preloader at all.
What am I doing wrong?
Setting the flash file to export classes on frame 2 doesn’t seem to work either because it puts my preloader class on frame 2. Is it possible to specify that the preloader goes on frame 1 and the rest of the classes go on frame 2?
Thanks