Search code examples
actionscript-3flashair

Change Flash Player stage quality in AIR apps


How do I change the stage quality to improve rendering performance in Flash Player AIR?

StageQuality doesn't seem to have any effect at all. Is this a known bug or am I doing something wrong?

I'm using this in the Main() app class constructor:

 stage.quality = StageQuality.LOW;

Is there no other way to improve performance in AIR apps?


Solution

  • Oh I found the answer in the Adobe Livedocs:

    For content running in 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).