[Tweener] preloading tweener

Zeh Fernando zehfernando at zeh.com.br
Wed Mar 26 10:34:16 PDT 2008


Hi Ryan,

> I'm working on a project that requires I use internal preloaders.   
> While Tweener is relatively lightweight (a little over 13k according  
> to my bandwidth profiler), I'd like it to load anywhere other than  
> frame 1.  I've set the File > Publish settings of Flash to "export  
> classes on frame XX", where XX is a frame of my choice, but Tweener  
> still loads on frame 1.
> I've moved all event handlers that call Tweener off frame one, and  
> even tried moving the "import" statement around, but nothing works.
> Any ideas??  If this can't be changed, will it be an option in a  
> future release?

If the standard method (changing the frames classes are exported) isn't 
working, I can't see a way for us to change it; we can't control 
where/how the code is exported.

I'm not so acquainted with AS3's class exporting limitations, but are 
you sure it's Tweener that's taking the first few kbytes of the movie? 
Aren't you trying to use it before the actual frame in which it's 
exported, potentially forcing it to load before that?


> Thanks Zeh - Tweener's my favorite new tool.

Thanks a lot, very flattering and much appreciated.



Zeh


More information about the Tweener mailing list