try setting it to NaN

On Fri, Aug 19, 2016 at 5:04 AM, Deepak MS <[email protected]> wrote:

> Yeah, tried that too. Still same behaviour : (
>
> stage.scaleMode = StageScaleMode.NO_SCALE;
>
> stage.align = StageAlign.TOP_LEFT;
>
> *var* deviceSize:Rectangle = *new* Rectangle(0, 0, stage.fullScreenWidth,
> stage.fullScreenHeight);
>
> scrollRect = deviceSize; //not working
>
> stage.stageWidth  = stage.fullScreenWidth; // not working
>
> stage.stageHeight = stage.fullScreenHeight; // not working
>
>
> I don't want the application to set applicationDPI value by itself. Right
> now it's setting the value to 160. And this is what is scaling the
> application(making components look big), but it fits the screen. I want to
> shrink the component scaling and I want to set the width and height
> manually. I hard coded application's width and height, stage's width and
> height. But it doesn't seem to work.
>
> How can I get this application work the way iPad application works on
> windows simulator (width \ height \ scaling)?
>
>
>
> On Fri, Aug 19, 2016 at 1:56 PM, OK <[email protected]> wrote:
>
> > Maybe this could help?:
> >
> > http://www.adobe.com/devnet/air/articles/multiple-screen-sizes.html
> >
> > Olaf
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> > 2333346.n4.nabble.com/Flex-Mobile-App-To-Desktop-App-tp13344p13348.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>

Reply via email to