I facing a basic compilation to Flash problem.
I have a simple Haxe class extending flash.display.MovieClip. When I compile it to a swf file, I would like it (an instance of it) to be the "local root" of its swf file (what we get through flash.Lib.current).
When I compile a simple as3 class with Flash Builder, it's what happens. But compilation to swf with haxe gives something different where flash.Lib.current is not an instance of my class.
How can I do that with the Haxe compiler ?
Thanks
Thomas