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?
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).
Frame Throttling is just about the BEST way to directly affect performance of an AIR app...
Read this excellent Tutorial from the developer of Destroy Twitter: http://www.adobe.com/devnet/air/flex/articles/framerate_throttling.html
精彩评论