[haXe] my first game

Nicolas Cannasse ncannasse at motion-twin.com
Tue Dec 4 10:27:33 CET 2007


Chris Hecker a écrit :
> 
>> I haven't looked yet at how to build a preloader in Flash9, although I'm
>> planing to.
> 
> I am also very interested in this info, although it sounds like if the
> browser caches all Loader loaded data then this is only important if you
> have a single-swf constraint like the original poster!
> 
> Maybe the next investigatory project for Hugh and gamehaxe.org?  :)

Yes, any information how this is done in AS3 would be helpful.
In Flash8, the idea was to have at least two frames :

(preloadercode+preloader gfx) Frame1 (code+gfx) Frame2

Then the preloader was using either
_root.getBytesLoaded()/_root.getBytesTotal() or the older
"ifframeloaded" instruction for more progressive download, which I think
is quite difficult to use but enables "streaming" with several loading
points.

Best,
Nicolas



More information about the Haxe mailing list