1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| Stage.align = "MC";
Stage.scaleMode = "noScale";
url = "tfile";
_root.cacheKiller="true";
import gs.dataTransfer.XMLParser;
function onFinish(success_boolean, results_obj, xml) { //This fhunction gets called as soon as the XML loads and gets parsed.
if (success_boolean) {
//trace (1);
play();
}
}
stop();
var parsed_obj = {}; //We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
var unCash= new Date().getTime();
if (_root.cacheKiller=="true") {
fileToLoad=url+"_main.xml?cacheKiller="+unCash;
fileToLoad=url+"_main.xml";
}
else {
fileToLoad=url+"_main.xml";
}
XMLParser.load(fileToLoad, onFinish, parsed_obj);
_root.emp.useHandCursor = 0;
///forplayer
_root.mus = 1;
_root.n = 1;
_root.num = 1; |
Partager