Hi,
I'm using CS3, flash player 8 and AS2.
I'm trying to make changes on an existing fla that is used to call an xml file to display some images with a timer.
This is the part of the AS that calls the xml.
Actionscript Code:
import util.GetXML;
import util.VarsIroning;
var xml = "homeEnglish.xml";
var nodes:XMLNode = new XMLNode ();
var shortNode:XML = new XML ();
var iron:VarsIroning = new VarsIroning (["partner", "xmlUrl"]);
var xmlReg:GetXML = new GetXML (xml, fnLoad, fnError);
//var xmlReg:GetXML = new GetXML ("tmp.xml", fnLoad, fnError);
var loadedImages:Object = new Object ();
var isPlaying:Boolean = false;
var control:String;
var fps:Number = 25;
var prevIndex:Number;
var corners_mask_mc:MovieClip;
Now the client wants me to change the fla so the xml is called from the parameters instead. This is because they want to have several of these swf but calling different xmls.
I've some idea of how to do that in the parameters, but not sure the changes I have to do in the AS, could anybody help?
Thanks a lot.