var myData:LoadVars = new LoadVars() var textFileNames:array = null; myData.onLoad = function(success){ textFileNames = new Array(); for(var i=0; i