Created
January 25, 2010 22:32
-
-
Save barbuza/286340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package { | |
import flash.display.StageScaleMode; | |
import flash.display.StageAlign; | |
import mx.logging.Log; | |
import mx.logging.LogEventLevel; | |
import org.casalib.display.CasaMovieClip; | |
public class Main extends CasaMovieClip { | |
public function Main() { | |
this.configureLogging(); | |
this.configureStage(); | |
} | |
private function configureStage():void { | |
this.stage.scaleMode = StageScaleMode.NO_SCALE; | |
this.stage.align = StageAlign.TOP_LEFT; | |
} | |
private function configureLogging():void { | |
var SosTarget:SosLoggingTarget = new SosLoggingTarget(); | |
SosTarget.level = LogEventLevel.ALL; | |
SosTarget.includeDate = true; | |
SosTarget.includeLevel = true; | |
SosTarget.includeTime = true; | |
SosTarget.includeCategory = true; | |
Log.addTarget(SosTarget); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment