Stage Quality of Flex App automatically changes zu LOW

Hi there.
I have an issue with setting the stage quality of the
flashplayer to
high which is default.
I set the quality in my HTML-Container to HIGH and in my flex
application with stage.quality = StageQuality.HIGH;
But after a couple of seconds the quality automatically
changes to low.
Is this a bug?
I'm using Flexbuilder 3b3.

stissing,
I'm seeing this in other Button based controls as well
(LinkButton, Button, CHeckBox, RadioButton).
I filed a bug at
http://bugs.adobe.com/jira/browse/SDK-19353
Thanks,
Peter

Similar Messages

  • Stage.quality property on FLEX and AIR

    There are 2 source codes to resize bitmap data, one for AIR, one for FLEX.
    The codes are same without .mxml head statement that is
    <mx:WindowedApplication> or <mx:Application>.
    The code are:
    1. create TextField object and set "XYZ" into it with font-size:48px,bold.
    2. create 2 BitmaData objects, one for initial drawing, one for resized result.
    3. set stage.quality to "BEST". <-- this is current topic!
    4. draw bitmap data with TextField.
    5. resize above bitmap data to 1/3.
    6. create Bitmap object from resized bitmap data.
    7. display the bitmap on canvas.
    By executing them,
    FLEX environment makes the expected result that is good anti-aliased.
    But AIR environment makes no good result.
    then, I tried some patterns of stage.quality on FLEX and
    I found the AIR result is equal to stage.quality="HIGH" on FLEX.
    it seems the stage.quality "BEST" of AIR doesn't work?
    Thank you for your help.
    My environment:
    Windows XP
    Flex SDK 3.3 (FlexBuilder3)
    Flash player 9 or 10
    Air runtime 1.5.2  ////same result with 1.5.1
    program source code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
      <![CDATA[
       import mx.core.UIComponent;
       private function sample(event:Event):void{
        var txtf:TextField = new TextField();
        txtf.htmlText = "<FONT SIZE=\"48\"><b>XYZ</b></FONT>"
        var bmpCanvas:BitmapData = new BitmapData(txtf.textWidth, txtf.textHeight, true, 0x000000);
        var bmpResult:BitmapData = new BitmapData(txtf.textWidth, txtf.textHeight, true, 0x000000);
        stage.quality = StageQuality.BEST;
        bmpCanvas.draw(txtf);
        var myMatrix:Matrix = new Matrix();
        myMatrix.a = myMatrix.d = 1;
        myMatrix.scale(1/3, 1/3);
        bmpResult.draw(bmpCanvas, myMatrix, null, null, null, true);
        var bm:Bitmap = new Bitmap(bmpResult, PixelSnapping.ALWAYS, true);
        var ui:UIComponent = new UIComponent();
        ui.addChild(bm);
        cvs.addChild(ui);
      ]]>
    </mx:Script>
    <mx:Canvas x="10" y="10" width="200" height="200" backgroundColor="#FFFFFF" id="cvs" click="sample(event)">
    </mx:Canvas>
    </mx:WindowedApplication>

    Hi!
    It may be good with UIComponent.
    for example...
    - stage.quality = StageQuality.BEST;
    - var bm:Bitmap = new Bitmap(<your base BitmapData>, PixelSnapping.AUTO, true);
    - var ui:UIComponent = new UIComponent();
    - ui.addChild(bm);
    - var matrix:Matrix = new Matrix();
    - matrix.scale(1/3, 1/3);
    - <your new BitmapData>.draw(ui, matrix);

  • How do I set the stage quality in an AIR app?

    In this article you can set the stage quality to 16X16LINEAR. I'm not able to do this in my AIR app:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      width="600" height="625"
      preinitialize="preinitializeHandler(event)"
      >
      <fx:Script>
      <![CDATA[
      import mx.core.FlexGlobals;
      import mx.events.FlexEvent;
      import mx.managers.SystemManager;
      protected function preinitializeHandler(event:FlexEvent):void {
      systemManager.topLevelSystemManager.stage.quality = StageQuality.HIGH_16X16_LINEAR;
      trace("quality=" + systemManager.topLevelSystemManager.stage.quality); // HIGH
      ]]>
      </fx:Script>
    </s:WindowedApplication>
    Flash Player 11.2 graphical gem | kaourantin.net

    From Adobe docs:
    "In the desktop profile of Adobe AIR, quality can be set to StageQuality.BEST or StageQuality.HIGH (and the default value is StageQuality.HIGH). Attempting to set it to another value has no effect (and the property remains unchanged). In the moble profile of AIR, all four quality settings are available. The default value on mobile devices is StageQuality.MEDIUM."
    StageQuality - Adobe ActionScript® 3 (AS3 ) API Reference

  • Ebedded Flex app does not play automatically

    I have a flex app that is embedded in a web page.
    When the page loads for the first time the app does not run
    automatically but is in "loop" mode.
    In order to embed the application in the html page we have
    copied the html and javascript files that the Flex builder
    generates :
    AC_OETags.js, history.htm, history.js etc.
    This only happens the first time the page is loaded,
    subsequently it loads and plays automatically.
    I would be grateful is anyone has some insight here.

    Thanks for your answer, we found a similar workaround.
    We did the following:
    1) disable automatic starting of the SWF in the script that
    created the plugin by adding these parameters:
    "play", "false",
    "loop", "false",
    2) adding some own javascript to the template-html:
    var isMovieLoaded = false;
    function setIsMovieLoaded(){
    isMovieLoaded = true;
    function start(id) {
    var swf = document.getElementById(id);
    if (swf) {
    swf.Play();
    function playMovie(){
    if( !isMovieLoaded ){
    start( "${application}" );
    window.setTimeout("playMovie()", 3000);
    3) calling setIsMovieLoaded() via ExternalInterface from the
    loaded application when initializing:
    if (ExternalInterface.available)
    ExternalInterface.call("setIsMovieLoaded");
    This way when the application loads and plays correctly, the
    delayed call to playMovie in the html-template does nothing,
    because the flag isMovieLoaded was already set by the application.
    If that is not the case, the movie is explicitly startet via
    the start function.
    Thanky anyway :-)

  • Is there any free app to change the wallpaper automatically with in a particular span of time....if its there it would be great

    is there any free app to change the wallpaper automatically with in a particular span of time....if its there it would be great

    "Is there a tool, or something that I can use to modify the speed of a clip by dragging the edge of the clip, or something of the sort?"
    You can do this in FCP7. Drag with the speed tool.

  • How Can We Change The Quality Of Youtube app on ipod touch 6.1

    How Can We Change The Quality Of Youtube app on ipod touch 6.1 like from hd to 240p i just cant get it when ever my video's play they're in HD and i have slow connection

    Previous to iOS 6, Apple provided the YouTube app. For iOS 6, the YouTube app is made/developed by Google. It is now like any other third-party app.

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • Are 'projects' required when creating flex apps

    hello;
    I have spent 2 days doing several flex tutorials, and it seems everyone of them requires me to create a new project. Eclipse, then, automatically creates lots of files with names hardcoded into them.
    I, personally, am uncomfortable with this approach: a tool creates my tool-shed automatically.
    is there an alternative to developing flex apps in flash builder?
    thanks.

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

  • Stage.quality = StageQuality.LOW ignored ?  Is there a different way ?

    I need to set the stage quality or simply the quality of a specific movieclip to LOW while it tweens to improve performance.
    It seems StageQuality.LOW and StageQuality.MEDIUM are being ignored by AIR 3.2
    If anyone has any ideas it would be appreciated.
    Thanks!

    There was a bug with GPU mode.
    It is fixed now, download the public 3.3 beta.
    http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
    FYI: If you set the quality as soon as the app starts before any rendering it works in the buggy version, but you can't change it after startup.

  • Stage Quality Limitations

    Does anyone know the reason why the stage quality is limited
    to "high" and "best" in AIR windows?
    It isn't a big problem but a lot of developers would no doubt
    prefer to set the stage quality to "low" or "medium" for games and
    for content taking advantage of Papervision etc, or even for
    bitmap-based application GUIs, so it seems a bit strange that this
    limitation is in place.
    Would you prefer to have all of the standard stage quality
    options available in AIR?

    There was a bug with GPU mode.
    It is fixed now, download the public 3.3 beta.
    http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
    FYI: If you set the quality as soon as the app starts before any rendering it works in the buggy version, but you can't change it after startup.

  • Run out other tools directly from a Flex app

    Hi all.
    I develop a flex app and I want to integrate it with another tool.
    More specifically, I would like to click a button at my interface, and automatic and transparently to the user, a file with name and address pre-defined be written at the HD (without to use the FileReference object) and after, that an interpreter automatically run this file.
    I had saw this is possible with the AIR technology, but the web nature of my project doesn't allow me a platform change.
    So, I woudl like to ask you if my demand could be accomplished using the flex technology.
    Thanks in advance,
    Péricles

    Probably not.  Otherwise lots of great malware would be delivered via Flash.

  • Flex app doesn't work when moved from original location

    I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
    I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
    Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.

    when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
    paths to cold fusion CFC's, and sometimes gets it wrong.
    If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
    when moving the code into a different base folder.
    For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
    c:\inetpub\wwwroot\crm_dev_flex\bin-debug
    References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
    (in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
    These need to change when you move the code to somewhere else.
    Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
    IHTH.
    Cheers

  • Icloud calendar colors automatically changing

    On iOS 6 and 7 my icloud shared calendars are automatically changing as if they are on a rainbow timer. When I set it back to a different color, a few minutes later it just goes back and changes again. I really thought iOS7 would solve this. Any suggestions?

    Mine is doing the same thing. I though there would be one place where I could change it and it would push out to the others, but that doesn't seem to be the case. My primary calendar was Orange for the longest time, but now it keeps turning Purple.
    Here's where I've tried to change it:
    icloud.com via Safari 6 on OS X Lion
    iCal on OS X Lion
    Calendar App on iOS 7
    Sunrise Calendar on iOS 7
    On each one of these, I am able to change the color back to Orange, but within a minute or less, it is back to Purple. The only exception is iCal on Lion. It retains my color change even through calendar refreshes, but when the app is quit and relaunched, the changes have not persisted and the Orange calendar is now Purple again.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Deployment of Flex app to web and app server

    Hi
    I'm working on putting a Flex front-end on an existing J2EE
    app which gets deployed as an ear file. The architecture consists
    of web server, app server and database server. Is the following
    approach to deployment possible / recommended?
    My Flex app will be deployed to the web server. The J2EE ear
    file will be deployed to the app server (Weblogic). BlazeDS will be
    bundled within the ear file as a war file. Remote Objects will be
    configured in my BlazeDS configuration files to enable me to access
    the code in my J2EE app. In the compiler options of my Flex app,
    I'll be setting the server root folder and server root URL to point
    to the BlazeDS war file on my app server.
    At present I'm at the stage where I can run my Flex app
    directly from Flex builder on my development PC and it's able to
    connect tto the J2EE app, which is running on the app server
    (Weblogic) also on my development PC. I can't find documentation
    explaining how to extend this to work on a multi-tier architecture.
    Thanks
    David

    Hi,
    I replied to your post in FDS forum. Please visit the URL
    below for the response.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1373523
    Hope this helps.

Maybe you are looking for

  • IPod can't be synced because there's not enough free space?

    One day I connected my iPod to iTunes and when I disconnected it when it said 'Ok to disconnect', when I turned on my iPod, all my songs and playlists disappeared. In iTunes, it says that it can't be synced because there's not enough free space. *My

  • RotationZ and image quality

    Why text or graphics inside a MovieClip or a Sprite deteriorate their video aspect when I act on their rotationZ properties? How can I avoid this effect? Thank you very much for anyone who kindly will answer me. Best regards Gio

  • Options on left hand side

    in the old firefox the options menu were on the left hand side of the screen and now they are on the right hand side. Is there a way to move them to the left hand side like before?

  • Need ff to release proxy setting - uninstall of new versions won't release

    In the past our systems used a Proxy server, now they don't, and when FF opens it takes forever to open because it is trying to access the proxy. I have been able to remove older versions and it would ask in the uninstall if I wanted to keep settings

  • I lost the usb cable to my exterbal hard drive

    I have an external hard drive Canvio® Slim II Portable External Hard Drive for PCs - Silver what usb cable is compatible with it?  Part Number: HDTD205XS3D1