Application Scale

2013-04-12 Thread Scott Matheson
Hi Not sure if this is the correct place, I will ask anyway In my Main.mxml I have a simple code this.scaleX = this.scaleX – 0.1 this.scaleY = this,scaleY –0.1 This works fine for the main container, but not the Application, so I end up with scroll bars How do I scale the application n

Re: Application Scale

2013-04-12 Thread Alex Harui
Is this mx:Application or s:Application? Why are you trying to adjust the scale? I would think that would make your app look a bit "fuzzy" as things won't be on pixel boundaries. You might be better off with a main container offset within the application. If the main container isn't also "shrin

Re: Application Scale

2013-04-12 Thread Scott Matheson
Hi Some good points, we are developing for 1024 x 768, as most screen are larger than this, however with the browser URL etc on some devices you end up with score bars, all graphics are vectors so we think these will scale well, that’s what our limited testing has shown, the screen are very sim

Re: Application Scale

2013-04-12 Thread Alex Harui
On 4/12/13 10:07 AM, "Scott Matheson" wrote: > Hi >Some good points, we are developing for 1024 x 768, as most screen are > larger than this, however with the browser URL etc on some devices you end > up with score bars, all graphics are vectors so we think these will scale > well, that¹s

Re: Application Scale

2013-04-12 Thread atauri
Hi, I am using the following function, and it works like a charm to me. First I designed the interface for 1280*800 (using phtoshop) and then positioned the elements in pixels (no anchors, or relative position). It scales great to any phone, tablet even desktop. Hope it helps. //es

Re: Application Scale

2013-04-12 Thread Angelo Lazzari
Hi all, david, one question, did you do a jpg? And where did you put the code you wrote? Thx? Sent from my  On Apr 12, 2013, at 20:18, atauri wrote: > Hi, I am using the following function, and it works like a charm to me. > First I designed the interface for 1280*800 (using phtoshop) and th

Re: Application Scale

2013-04-12 Thread jude
We had a similar solution. We created a Group that is a child of the application. This allows us to have different applications but thesame main group. The reason is we can then use different CSS style sheets for different application targets. Then in the application resize we check for the minimu

Re: Application Scale

2013-04-12 Thread atauri
Hi Angelo, the function goes in the app xml, the ini fuction. import mx.core.FlexGlobals; http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.videoView" backgroundColor="#