Hi,
I'm using version 1.3.2 SWC English SWC file. When I add this to my flash file it gives an error and doesn't work.
Here's the code I use:
private function setupPlayer(evt:Event = null):void {
try {
removeEventListener(Event.ADDED_TO_STAGE, setupPlayer);
} catch (err:Error) {
}
var tm:TheMiner = new TheMiner();
trace("***");
stage.addChild( tm );
And the output:
TheMiner : Starting TheMiner 1.3.20
***
TheMiner : Loading configs...
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.sociodox.theminer.window::Configuration$/Load()
at com.sociodox.theminer::TheMiner/init()
at flash.display::DisplayObjectContainer/addChild()
at flash.display::Stage/addChild()
I've added the SWC file through Flash/Publish Settings/AS3 Settings/Library Path.
I'm using CS on Mac OS Lion.
Is there anything I'm missing?
Thanks in advance,
Semih