[haXe] haXe equivalent for Document class
Guntur N. Sarwohadi
gsarwohadi at gmail.com
Sat Dec 1 14:41:14 CET 2007
Nicolas,
I'm still curious. I tried overriding flash.Lib.current with a class
extending MovieClip in the hopes to be able to listen it's loaderInfo
property during load. It won't work. But maybe I haven't made myself
clear on what I wanted to do. I need a preloader in a single SWF file.
I've read that people recommend having an external loader, and I agree
that it's much better that way, but the problem is the company I work
with requires a single SWF. Bummer, huh.
I got 2 options I can think of:
1. use flex as a 'wrapper' of my haxe swf. I remember flex has a
default preloading class. Is it possible to use that? Or better yet,
have something similar in haXe?
2. create frames in haxe. I admit, this is a desperate thought. I've
read it wasn't possible
(http://lists.motion-twin.com/pipermail/haxe/2006-November/005929.html),
but wondering maybe it is now?
Another thing I'm confused is about flex apps creates 2 frames in the
movie (http://haxe.org/tutos/flex_and_haxe_intro). If flex can do it,
then haxe could?
Please shed a light here, I'm lost :(:(
Thanks,
Guntur
More information about the Haxe
mailing list