Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
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
."