[haXe] Access to Stage in AS3 from haxe

l u c h y x luchyx at gmail.com
Mon Sep 18 21:06:01 CEST 2006


Hi list i try to modify the stage alignement properties and scaling from
HAXE code and the player return this error.

/*code*/
        var stage = new flash.display.Stage();
        stage.align = flash.display.StageAlign.TOP_LEFT;
        stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
/**/

ArgumentError: Error #2012: Stage class cannot be instantiated.
    at Demo$/main()
    at MethodInfo-62()
    at flash::Boot$iinit()

How can achieve this with HAXE?

Bests..




-- 
l   u   c   h   y   x
r i a e v o l u t i o n (r)
luchyx at riaevolution.com
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20060918/c4daa427/attachment.htm


More information about the Haxe mailing list