I want my flashmovie to act in different ways, depending on the name of a xml-file.
Which means that if a xml-file does not exist, nothing will happen, but if xmlfile5.xml exist the swf will behave in another way, than if the file existing is named xmlfile7.xml.
But how do I tell in as3 the swf to accept all filenames in the range xmlfile1 to xmlfile10.
Off course only one at a time - and always the lowest - or highest - number.
Something like the attached snippet??
myXML = new XML();
XML_URL = xmlname+".xml";
myXMLURL = new URLRequest(XML_URL);
myxmlLoader = new URLLoader(myXMLURL);