Flash Player 9 Local swf Security
Posted by Nate Chatellier on May 30th, 2007Let's say you had an external settings file that you wanted to load using the following code:
PLAIN TEXT
Actionscript:
protected var _loader:URLLoader = new URLLoader();
_loader.addEventListener( Event.COMPLETE, function():void { trace("settings.txt was loaded successfully"); } );
_loader.load( new URLRequest("settings.txt") );
You finish writing your class, save your fla, and compile. After compilation completes, the code above properly trace s "settings.txt [...]
