Just now I've have to add a button to toggle quality in a game I'm working on. I've never had to do it before, but I lolled when I saw this.
Makes it a bit hard to do something simple likeCode:this.stage.quality = StageQuality.LOW; trace( this.stage.quality ); // traces "LOW" trace( StageQuality.LOW ); // traces "low"
Ah Flash, even after all these years, you still got it...Code:if( this.stage.quality == StageQuality.LOW ) ...