Closed dbathily closed 11 years ago
For now you can't use $pivotX() and $pivotY() layouts for Flash based components only for Starling based.
I didn't use $pivot. I just follow one of your tutorial.
var logo:TextField = new TextField();
logo.text = "Logo Splash";
logo.setTextFormat(new TextFormat(null, 30));
addElement(logo/*, $hCenter(0), $vCenter(0), $vRatio(50).pct*/);
I think I found the problem. At line 58 of LayoutTarget, there is a call to setActualPivots that don't care of the component https://github.com/in4ray/firefly-sdk/blob/master/firefly/src/com/in4ray/gaming/layouts/LayoutTarget.as#L58
Hi, thanks. I see the issue will try to fix soon.
I have this error with the master branch when i try to add a label in a sprite
AIR 3.6 and or 3.7 Starling 1.3
Thanks