Application Scaling Issue

Hi all,
          Application is getting scaled based on the width and height of div file. But components are not getting scaled. It was working in flex3. When i moved the project from Flex3 to Flex4 with same mxml code it is not working. Please anybody help me. I was struck with this for past two days.
Regards,
Jayagopal.

I would try my hands on the applications scaleX and scaleY, I guess you already know the applciations standard height and width, if the app's height and width is more than the standard height/width calculate the scaling factor from the formula NewHeight/standardHeight = scaling factor(all this calculations has to be done in the JS), do this for width also.
Next use java script external interfaces to call a method in flex passing down the scaleX and scaleY values to it which does this.scaleX = new value and same for scaleY.
2nd option: group has resizeMode='scale' property, if the browser size increases(i.e. app height increases/decreses) then the content in the app scales. I would wrap the whole application in this tag and tweak.

Similar Messages

  • Graphics scaling issues in Flash Builder 4.5.1

    Please review this screen shot. Details follow the image.
    FB 4.5.1
    applicationDPI = "160"
    Graphics using MultiDPIBitmapSource scale fairly well.
    Graphics used for these properties do not scale well at all:
    1) ViewMenuItem's "icon" property.
    2) List itemRenderer IconItemRenderer "decorator" property.
    3) TabbedViewNavigatorApplication's "splashScreenImage" property.
    These graphics assets end up with horrible scaling artifacts, making them unusable. So, I cannot use icons with Menus or Lists or a splash image.
    I've reviewed all of Adobe's documentation and followed all of their recommendations for creating graphics assets for use in a mobile applications. Simple graphics with no curved lines or angles less than 90 degrees scale well. Anything else does not.
    Attached is a screen shot comparing the scaling issues at 160, 240 and 320 dpi with applicationDPI = "160". It is using an FXG graphic created in Illustrator CS5.5.
    The FXG graphic was embedded in the s:IconItemRenderer  like this: decorator = "{images.arrow_list_icon}". 
    For testing purposes, I also tried switching the decorator at runtime based on the applicationDPI, but of course this fails as the application still scales the graphic whenever the application's applicationDPI property is specified. 
    <s:List>
    <s:itemRenderer>
    <fx:Component>
    <s:IconItemRenderer
    decorator = "{chooseDecorator()}" 
    <fx:Script>
    //This code selects a different FXG asset based on the DPI reported at runtime. 
    import images.arrow_list_icon160;
    import images.arrow_list_icon240;
    import images.arrow_list_icon320;
    import mx.core.FlexGlobals; 
    protected function chooseDecorator():Class {
        var rtnVal:Class;
        switch (FlexGlobals.topLevelApplication.runtimeDPI) {
            case mx.core.DPIClassification.DPI_160:
                rtnVal=images.arrow_list_icon160;
                break;
            case mx.core.DPIClassification.DPI_240:
                rtnVal=images.arrow_list_icon240;
                break;
            case mx.core.DPIClassification.DPI_320:
                rtnVal=images.arrow_list_icon320;
                break;
        return rtnVal;
    </fx:Script>
    Has anyone come up with methods which can be used to avoid scaling issues with these items when setting the applicationDPI property?

    Chances are that you'll get better answers for this question on the Flex general discussion forum. This forum is visited more by engineers on the tooling team while the latter has people from the Flex SDK team.
    -Anirudh

  • Regarding Sun Java System Application Server Issue with JVM

    Regarding Sun Java System Application Server Issue with JVM
    Hi
    I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac
    [javac] where possible options include:
    [javac] -g Generate all debugging info
    [javac] -g:none Generate no debugging info
    [javac] -g:{lines,vars,source} Generate only some debugging info
    [javac] -nowarn Generate no warnings
    [javac] -verbose Output messages about what the compiler is doing
    [javac] -deprecation Output source locations where deprecated APIs are used
    [javac] -classpath Specify where to find user class files
    [javac] -sourcepath Specify where to find input source files
    [javac] -bootclasspath Override location of bootstrap class files
    [javac] -extdirs Override location of installed extensions
    [javac] -d Specify where to place generated class files
    [javac] -encoding Specify character encoding used by source files
    [javac] -source Provide source compatibility with specified release
    [javac] -target Generate class files for specific VM version
    [javac] -help Print a synopsis of standard options
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    I have cheked jvm version on both system the only difference is :
    Solaris points to jdk 1.5.0_09
    Windows point to jdk1.5.0_05
    Even i tried to run blank jsp also but again i got the same error.
    Can any help me to sort out the problem or give me any idea so i can do something by my own.
    Thanks in Advance
    Gagan

    Do you have ANT installed and available?
    Thanks,
    Kedar

  • How do I fix this printer scaling issue?

    Copied from my post on Experts Exchange...
    I have a client running an OS X Server with Snow Leopard 10.6. Their office has iMacs and they print a variety of formats (PDF, DWG) from different programs.
    The problem is that the prints are not scaling properly. When set to a certain scale, the measured print is off by 2% or so.
    They also run Windows 7 in a virtualized machine via Parallels, and they are not experiencing the problem through windows.
    The printer in question is an Epson Stylus Photo 1400. It is connected directly to the OS X Server via USB. The printer is then shared via Server Admin using all protocols.
    On a client Mac OS X machine, I add the printer through System Preferences, Printers, and select the printer. When adding, I use the Gutenprint driver for this particular printer because for whatever reason, the standard driver will not print correctly (prints half-way, wrong size, etc.).
    I have tried restarting the Print Server, removing and re-adding the printer with the same driver, updating the Gutenprint drivers from 5.2.3 to 5.2.7. I even deleted a CUPS plist file thinking it would do something but apparently not.
    The prints used to print just fine. I don't know what to try as I am exhausting the research solutions I have found thus far online.
    Any help is greatly appreciated.

    In addition to Matt's suggestions, check what driver is being used on the server. If the Epson driver is being used on the server but the clients are having to use Gutenprint as you have mentioned, then this can also cause scaling issues. So if you can create the server queue using the Gutenprint driver (for some printers this can be tricky) then this can help. And with this queue using the Gutenprint driver I would then try printing a PDF directly from the OS X server to see if the same scaling issue occurs. If the server prints without the 2% reduction then you can concentrate on the client.
    And for the client, as a test, I would also try connecting the printer directly to a client Mac via USB and also see if the same scaling issue occurs. But ensure you do use the settings Matt has suggested, because the scale to fit does catch out a lot of users.

  • Scaling issues with Windows 8.1 and 3200x1800 displays?

    What about scaling issues with CS6 Illustrator and Photoshop?  I have a hidpi 3200x1800 13" laptop with win 8.1 and can't use the software because of the tiny text.
    Thanks,
    PK
    Sent from my iPhone

    CS6 was released before HiDpi displays were common and there are no adjustments in that program.
    You can try going into Preferences > Interface and changing the UI Font Size to Large.
    You could also try lowering your display resolution until  is decently readable.
    Another step is joining Creative Cloud. Photoshop CC 2014 has 200% UI Scaling.
    $50/month for all apps or $10/month for Photoshop/Lightroom.
    There are intro and educational offers if you can get on them.
    Gene

  • QHD+ Resolution Scaling Issues Windows 8

    I've read that QHD+ resolution monitors like the Dell Precision m3800 with a 3200x1800 resolution screen are having scaling issues with Windows 8, and even 8.1. Some programs scale correctly, but I have specifically heard Adobe programs including Adobe After Effects do NOT scale correctly.
    Are there plans to fix this with the next Windows release? Or a patch before then?
    Any rough estimate as to when that would be?
    Does it work at the moment to scale the monitor down to a lower resolution to fix it? Is it in fact tested and not just assumed. (I have no way of checking and can't get a straight answer)
    I want to buy this laptop soon, but I need it for After Effects and if it's not usable, it won't be a good buy. Would love to have some concret answers!
    Thanks!
    Kim

    The CC versions of Adobe programs support high-DPI displays, but not older ones. If you use an older version, this won't change. Nobody goes back to old code.
    Mylenium

  • Surface Pro 3, Remote Desktop, multiple monitors, Windows 8.1 DPI scaling issues

    I have been evaluating Surface Pro 3 and once of the attributes is the display. Here is the description of the environment and the remote desktop display issue.
    Surface Pro 3 (Windows 8.1 with latest firmware and Windows updates) has 12 inch built-in screen with native resolution 2160x1440. The Surface is docked and an external monitor (native resolution 1920x1080) is connected to the docking stations. The
    display configuration doesn't allow for different scaling for each monitor, single scaling value is used for multiple monitors. This is an issue as the recommended scaling of 150% is optimal for small built-in screen of Surface but it is not optimal for
    large screens of external monitors. Also this scaling is "inherited" by a remote desktop session which results in objects being too large on the remote desktop sessions or sometimes even blurry/fuzzy.
    Can the blurriness/fuzziness of the remote desktop session be resolved? 
    Z

    Hi Colin,
    Thanks for the response. I installed the latest firmware and patches about a week ago and the scaling issue improved. It is not optimal yet as some graphical elements are still out of proportions but I do not want to spent more resources on this subject
    anymore.
    Best regards,
    Zbysek
    Z

  • Application Deloyment issue...

    hi,
    i am getting this Deployment error...
    we got two servers one for developers at offshore and
    one at the onsite...
    the strange thing is that it is deploying n running fine on the offshore server.
    but not getting deployed on the onsite server!!!
    i have put the required references required and
    checked them too...!!!
    regards,
    -Amol Gupta
    Oct 18, 2007 11:11:04 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [004]Deployment aborted
    Settings
    SDM host : bp1xeuaa558
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/amolg/LOCALS1/Temp/temp26291bp.comexmplsupplier_lds_create_adobe.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/amolg/LOCALS1/Temp/temp26291bp.comexmplsupplier_lds_create_adobe.ear
    Aborted: development component 'exmpl/supplier_lds_create_adobe'/'bp.com'/'LOKAL'/'0.2007.10.18.11.10.17'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application bp.com/exmplsupplier_lds_create_adobe.. Reason: Clusterwide exception: Failed to deploy application bp.com/exmplsupplier_lds_create_adobe. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application bp.com/exmpl~supplier_lds_create_adobe. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    >
    I have oracle PL/SQL application performance issue. To open a screen populated with 7,000 records takes 5 minutes.
    I have used SQL Analyze to get Index recomendation. Indexing did not help that much.Switch on a trace on a user who is just about to run that screen - let them rip.
    Stop your trace. Get your trace file. Run it through TKProf.
    Read the book by Cary Millsap that Sybrand recommends (or take a look
    at Chris Lawson) - i.e. read up on trace files and looking at them.
    Get the SQL that is run by the user and try running it from SQLPlus
    on the server (no network or app issues) - set timing on.
    That would be my approach.
    Do you think upgrading or replacing with newer machine can improve performance? Getting a newer machine often satisfies the geek's primeval urge to
    get his grubby little paws onto fancy shiny hardware - it may well
    work for a while, however you're not tackling the underlying cause
    of your problem, and it will (probably) reappear when the limits
    of the new RAM/CPU have been hit.
    If you what is suggested above, at least you'll be able to say
    to your management - "well, if we get a new server, performance
    will improve by this much, until we have (say) 14.000 records in
    the table, when performance will go back to the way it was before".
    Until you run a trace, you will have no idea if the problem will
    scale linearly with the no. of records or how it will
    behave into the future.
    You cannon manage what you cannot measure.
    Paul...
    Taf

  • Application redraw issue over Citrix and Terminal Server

    Hi All,
    We provide a client-server application which connects to a SQL Server database. The middle-tier is hosted on an application server (Windows Server 2008 R2) which in turn connects to the SQL Server database. The fat client can either be installed on user laptops/desktops
    or published using Citix/Terminal services.
    We have a long standing issue which frankly I just cannot fathom. A customer has published the client via Citrix to users and using roaming profiles. If an employee is using the application in London, the roaming profile is created on a server in London and
    connects to the middle-tier in London. If an employee is using the application in Glasgow, the roaming profile is created in Edinburgh and the user connects to the middle-tier in London. The customer is also using DFS
    The roaming profile consists of the 'My Documents', 'My Pictures', 'My Videos', 'My Music' and 'Windows' folder. Distributed File System (DFS) is used for roaming profile folder replication between offices. See http://technet.microsoft.com/en-gb/library/cc732863%28v=ws.10%29.aspx
    The Edinburgh users are experiencing application redraw issue where the interface loads in chunks. For example, when a user scrolls up and down or left and right, the data loads immediately (from SQL Server) but the interface (GUI) loads in blocks. You can
    actually see each segment of the GUI components loading. The issue also occurs if connecting via a Terminal Server where the application is also installed.
    For London users, it all works fine. If an Edinburgh user comes to London, they have no issues.
    The network connection is super fast between the various offices.
    The application is built using C++ and Delphi and uses the GDI API to draw the objects.
    Any guidance is appreciated.

    Hello partner,
    Thanks for contacting Microsoft. This is Sophia who is going to help with this issue. From your description, I learnt that users from Edinburgh have application redraw issue. However, London users worked fine. Please let me know if I misunderstand your purpose.
    Based on the information, it seems that the issue located in the middle-tier in London. Could you try building a middle-tier in Edinburgh and then test how the issue goes?
    Besides, based on my experience and research, by default the allocation of the bandwidth is 70 percent for graphics data and 30 percent for virtual channel data, meaning when bandwidth usage is under pressure, graphics data is guaranteed to get 70 percent
    of the available bandwidth.  And we can tweak the settings a bit for some scenarios. To change the settings, we can set registry values. Please reference the information below.
    ===========================================================================================================================================
    Note: For these settings to take effect, the computer must be restarted.
    Following is the list of registry values that affect the bandwidth allocation behavior. These are all DWORD values under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD:
    ·         FlowControlDisable: When set to 1, this value disables the new flow control algorithm, making it essentially First-In-First-Out (FIFO) for all packet requests. This provides results similar to Windows Server
    2003. (The default for this value is 0).
    ·         FlowControlDisplayBandwidth / FlowControlChannelBandwidth: These two values together determine the bandwidth distribution between display and virtual channels. You can set these values in the range of 0–255.
    For example, setting FlowControlDisplayBandwidth = 100 and FlowControlChannelBandwidth = 100 creates an equal bandwidth distribution between video and VCs. The default is 70 for FlowControlDisplayBandwidth and 30 for FlowControlChannelBandwidth, thus making
    the default distribution equal to 70–30.
    ·         FlowControlChargePostCompression: If set to 1, this value bases the bandwidth allocation on post-compression bandwidth usage. The default for this value is 0, which means that the bandwidth distribution is applied
    on pre-compressed data.
    For more information about RDP Bandwidth, please reference the article below.
    ================================================
    Bandwidth Allocation for Terminal Server connections over RDP
    http://blogs.msdn.com/b/rds/archive/2007/04/09/bandwidth-allocation-for-terminal-server-connections-over-rdp.aspx
    Top 10 RDP Protocol Misconceptions – Part 1
    http://blogs.msdn.com/b/rds/archive/2009/03/03/top-10-rdp-protocol-misconceptions-part-1.aspx
    If you have any concerns about the action plan above, feel free to let me know.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Scaling issue going from computer to flat screen tv.

    I have a client that has shot thousands of pictures from his world travels over the years some in the raw format some in jpeg. He created a slide show in Photoshop Elements of the pictures and when he shows them through his computer onto his large Toshiba HD flat screen some of them come out jagged (doesn't matter if they are jpeg or raw). I am assuming it is a scaling issue causing this. Question can some one please give me the right instructions on how to go about fixing this so all of his pictures come out crystal clear on his flat screen? Thanks.

    What is the current pixel dimension of the images that are causing the issue?
    Richard Lynch

  • Classic tween scaling issue

    I have two jpeg images that are converted to movie clip symbols. When attempting to scale one from zero out to infinity (zoom out look), I apply the classic tween and the image zooms out above the top of my document window instead of going straight out. Is there something I can troubleshoot to fix this? I belive the registration point on the symbol is in the center, but how can I confirm?

    Hey, the best bet would be what the above poster said, click on your symbol and push Q to select the Free Transform tool and change the registration point to fit in the center. If you're having any scaling issues using tweens I'd just remove the tween and try again, I find tweening always buggy.
    -Travis

  • I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    On windows load the airport utility .. latest correct version as possible.. there is no windows 8 but win7 works after a fashion.
    Make sure the TC is using SMB compatible names.. short no spaces and pure alphanumeric.
    Type the name directly into windows explorer.
    \\TCname or \\TCIPaddress
    If no luck turn off all the firewalls.. internal windows plus security software plus whatever other gargyoles and other rubbish AV software you have running.
    Ensure windows is able to at least ping the TC by IP address and name..
    Use the utility in windows to set file sharing to guest account on with full read and write access.. and set workgroup to WORKGROUP.

  • GetURL _blank:  scaling issues

    I have the following in Flash 8
    BriefLook_mc.btnStudentLife_mc.onRelease = function():Void
    this.createEmptyMovieClip("craveLoader_mc",
    this.getNextHighestDepth());
    this.craveLoader_mc.getURL("BWC_Crave.swf",
    "_blank");
    This opens a new window for BWC_Crave.swf ...like I want. But
    the window scales depending on my current window sizing. If I make
    my window bigger or smaller, it sizes the flash movie in the
    window. I want it to be a static size. What am I doing wrong? My
    publish setting are set at 100% with "no scaling" set for both swf
    files.
    When I publish the called swf file bwc_crave.swf, it works as
    intended. When I load this file with getURL, that is when the
    scaling issues arise. Any clues?

    Why are you creating an empty movie clip?
    You should place your "Crave.swf" file into a HTML page the
    way you want it and then insert javascript into the <head>
    tags to resize the page on load.
    Here is a link to the javascript you could use:
    http://www.codeave.com/javascript/code.asp?u_log=7065

  • Windows 8.1 DPI scaling issue's [how to disable it]

    I'm having trouble with new the DPI scaling features of windows 8.1.
    I have 2 displays of the same resolution (1920 x 1080) .  The main display (24") is bigger then my laptop display (17"). I don't want to use different scaling for each display =>  I just want both to be 100% (small).
    So I've set up "Control Panel\Appearance and Personalization\Display" to be "Smaller 100%" and I've checked 'Let me choose one scaling level for all my displays'.
    Once choosen these settings; and saved  I logged out and everthings seems fine.
    Only IE11 is being an ass switching from 100% zoom factor on my main display to 125% zoom factor on my secondairy (smaller laptop display). I found this about IE 11: 
    http://connect.microsoft.com/IE/feedback/details/804990/internet-explorer-11-auto-zoom-feature-within-ie11 ; which makes me believe this is an issue's which will be solved in the future.
    However somethimes when I log on (not every time - but sometimes ~ like this morning) ; the DPI scaling kicks in on my secondairy laptop display. A windows suddenly grow bigger when dragging them to my smaller display.  This is very annoying behaviour.
    Sample Image (see difference in size CMD windows) :
    I have tried using different settings; none of them seem to support the behavior I want to have.
    I can disable the DPI scaling (foreach application) by checking the Compatibility option "Dsiable display scaling on high DPI Settings". However if I need to do this foreach application, I could as well reinstall my PC and install Windows 8 again
    Kind Regards,
    Sander

    Today i have the same strange issue. This occures with and normal EXPLORER window. The strange thing is it occures on one explorer window, when i open a new one this one doesn't have this issue.
    See printscreen attached:
    Is it possible the display settings are user dependent ; and with UAC disabled  some applications automatically run as "Administrator" which run under  different user settings?
    Kind Regards,
    Sander

  • Bootcamp 2013 MacBook Pro Retina 15" Scaling Issues

    Hello!
    I just installed Bootcamp on my 2013 MacBook Pro Retina 15", and some windows and applications are very small. YouTube's Control Panel is really small. Running OBS, the text and windows are scrunched and small. Running The Old Republic, the window is super small.
    Any Idea how to fix this?
    I've played around with the scaling features and resolution, and nothing seems to work.
    Thanks!

    Before trying to go back to Mavericks, try performing an SMC and NVRAM/PRAM reset. These two components control several functions of your MacBook Pro and by resetting them to their default values it may clear up the issue that you're seeing.
    To reset the SMC:
    Turn off your computer and ensure the MagSafe adapter is plugged in.
    Hold down Shift-Control-Option on the left side of your keyboard, and then hold down the Power button at the same time.
    Wait about 5 seconds, and then release the keys. You may see the light on the power adapter change colour momentarily.
    Don't turn the computer on just yet, we'll do that in the next step.
    To reset the NVRAM/PRAM:
    Press the Power button and then immediately hold down Command-Option-P-R on your keyboard at the same time.
    Continue holding these keys until your MacBook Pro restarts and you hear the start up chime a second time.
    Release the keys and continue booting into OS X.
    If this doesn't work, try booting into Safe Mode. This will help you determine whether a software issue is causing your problem. To boot your Mac into Safe Mode, restart the computer and hold down the Shift key until you see the Apple logo appear on the screen. It may take a little while longer to boot up as OS X will verify the state of your disk and clear out certain caches and temporary files. Once booted into Safe Mode, try restarting and see if the issue persists.

Maybe you are looking for