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
simple with lost of space, so we could scale the design down

This was a v3 app we upgraded, to V4 I also implemented a Main and AppBase
class, looks like I may not have updated all mx: to S;

Should is change the base imports ?

===========================================================================
=

AppBase.AS


package baseclasses
{
        import com.peach.uofs.services.LoadCenters;


        import flash.events.IEventDispatcher;


        import mx.core.Application;
        import mx.core.FlexGlobals;
        import mx.events.FlexEvent;
        import mx.events.StyleEvent;
        import mx.styles.IStyleManager2;



        public class AppBase extends Application



===========================================================================
==

Main.mxml
<?xml version="1.0" encoding="utf-8"?>
<baseclasses:AppBase
            layout="absolute"
                xmlns:fx="http://ns.adobe.com/mxml/2009";
                xmlns:mx="library://ns.adobe.com/flex/mx"
                xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:baseclasses="baseclasses.*"
            xmlns:components="com.peach.uofs.components.*"
                xmlns:skins="skins.*"
            creationComplete="init()"  >


        <fx:Style source="main.css"/>









On 4/12/13 5:12 PM, "Alex Harui" <[email protected]> wrote:

>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 "shrinkable", that might be what causes
>the
>scroll bars.
>
>
>On 4/12/13 8:10 AM, "Scott Matheson" <[email protected]> wrote:
>
>> 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 not the first container
>>
>> Scott
>>
>>
>> ________________________________
>>
>> Disclaimer: This electronic mail and any attachments are confidential
>>and may
>> be privileged. If you are not the intended recipient, please notify the
>>sender
>> immediately by replying to this email, and destroy all copies of this
>>email
>> and any attachments. Thank you.
>
>--
>Alex Harui
>Flex SDK Team
>Adobe Systems, Inc.
>http://blogs.adobe.com/aharui
>


________________________________

Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.

Reply via email to