Re: Flex Mobile App To Desktop App

2016-08-19 Thread Alex Harui
Maybe the next step is to build a small test app with a few controls and see if you have the same problem. If you do, then you can post the app in a JIRA issue and we can dig deeper. -Alex On 8/19/16, 11:12 AM, "Deepak MS" wrote: >I am using Flex 4.15 AIR 21. >Actually the device has very cris

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Deepak MS
I am using Flex 4.15 AIR 21. Actually the device has very crisp and HD display(like retina display on ipad). But unfortunately capabilities.screenDPI always returns 72 for any windows machines. Hence i am manually setting the app dpi to 240, which makes components look fine(properly scaled) Only i

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Deepak MS
Yup, i set the bounds to desired width and height( stage.fullScreenWidth and stage.fullScreenHeight have 1920 x 1080 which are right values). Still no change. On 19 Aug 2016 6:45 pm, "Nemi" wrote: > So, if I understand, dimension of app with NO_SCALE is good for you, and in > that case you only

Re: Flex Mobile App To Desktop App

2016-08-19 Thread OmPrakash Muppirala
Which version of Flex SDK? We added support for 120dpi in one of the newer versions. Which would be closer to 72dpi. Unless there is something else going wrong. Thanks, Om On Aug 19, 2016 6:33 AM, "Clint M" wrote: > applicationDPI="{NaN}" > > On Fri, Aug 19, 2016 at 5:59 AM, Deepak MS > wro

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Clint M
applicationDPI="{NaN}" On Fri, Aug 19, 2016 at 5:59 AM, Deepak MS wrote: > Yeah, I tried that. > > *protected* *function* addedToStageHandler(event:Event):*void* > > { > > stage.align = StageAlign.TOP_LEFT; > > stage.scaleMode = StageScaleMode.NO_SCALE; > > } > > > *protected* *function* > windo

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Nemi
So, if I understand, dimension of app with NO_SCALE is good for you, and in that case you only want that window chrome fits your app borders? Did you try setting window.nativeWindow.bounds = new Rectangle(...) I am not sure for stage.fullScreenWidth having correct values you need.. Have in mind wi

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Deepak MS
Yeah, I tried that. *protected* *function* addedToStageHandler(event:Event):*void* { stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; } *protected* *function* windowedapplication1_windowCompleteHandler(event:AIREvent):*void* { nativeWindow.width = stage.ful

Re: Workers and Speed

2016-08-19 Thread Nemi
Using first Array instead of ArrayCollection could perform a lot of faster. For example filling, manipulating array then use it as source: new ArrayCollection(array), and you can use arrayCollection.source To enable telemetry on swf you can use SWF Scout Enabler

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Clint M
try setting it to NaN On Fri, Aug 19, 2016 at 5:04 AM, Deepak MS 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.ful

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Nemi
Did you try scaling your app to fit the screen, then change NativeWindow dimensions so it fits/wraps app ? -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-Mobile-App-To-Desktop-App-tp13344p13351.html Sent from the Apache Flex Users mailing list archive at Na

Re: TitleWindow dragged off screen

2016-08-19 Thread Nemi
Check if your component's skin has some transparent part, so it calculates ok, but not what you want. Also you can try poping up some other "clean" component (with most simple skin) just to check if your calculations are ok. -- View this message in context: http://apache-flex-users.246.n4.n

Re: Flex Mobile App To Desktop App

2016-08-19 Thread Deepak MS
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.fullS

Re: Flex Mobile App To Desktop App

2016-08-19 Thread OK
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.246.n4.nabble.com/Flex-Mobile-App-To-Desktop-App-tp13344p13348.html Sent from the Apache Flex Users mailing list archive at Nabble.com

Re: Workers and Speed

2016-08-19 Thread bilbosax
I just wanted to give an update because I am so excited. I have never programmed in C before, but on the suggestion of Justin and others, I converted my program to C and ran the processing engine and the results are in - 25 seconds!!! That's over 4x faster than the actionscript version. I am still