this is how I change the Application width and height:
FlexGlobals.topLevelApplication.width = FlexGlobals.topLevelApplication.parameters.width;
FlexGlobals.topLevelApplication.height = FlexGlobals.topLevelApplication.parameters.height;
I'am trying to change the width and height of the spark Application:
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark"
width="100" height="100">
as if I was specified it here in code, I'am passing it from html flashvars, but the width and height of application doesn't change, what is wrong?