[haXe] Flash Stage Circle

Nicolas Cannasse ncannasse at motion-twin.com
Mon Jan 1 13:54:31 CET 2007


> Hi,
> 
> I tried the Stage example for Flash from the documentation page. but the 
> addListener(this) has no effect, the application does not call 
> onResize() in either case. The content is however resized when the 
> window is resized. What is wrong? (I am running 1.09).

You need first to set :

flash.Stage.scaleMode = "noScale";

Because by default, the SWF will get scaled up and will always fit in 
the whole window, so no onResize event will be triggered.

Nicolas



More information about the Haxe mailing list