Hi! I’m new… and yeah, any help would be greatly appreciated.
I’ve tried calling constructor class from my main.fla, and it just doesn’t work. The error when I try to instantiate the constructor is that it needs an argument… and since the class extends a Sprite… and I’m kinda at a loss. Help?
public function portGal():void {
this._images = new Array();
this._app.sWidth = stage.stageWidth;
this._app.sHeight = stage.stageHeight;
this._currentImageID = 2;
var xmlURL:String;
var xmlLoader:URLLoader = new URLLoader();
xmlURL = "folioList.xml";
xmlLoader.addEventListener(Event.COMPLETE, parseXML);
xmlLoader.load(new URLRequest(xmlURL));
}