var lv:LoadVars = new LoadVars(); lv.load("mapmsc.txt"); lv.onLoad = function (success) { if(success) { play(); } } stop();