[flashpro] external list and array description

eric choisy bbp at bbp-online.com
Thu Sep 22 05:25:04 EDT 2005


hi

well, i'm trying to use an external text file with a formated string  
like that

valeurs=tableMenu[1] = []&tableMenu[1].titre = "Sécurité"&tableMenu 
[1].nom = "m_1"&tableMenu[1].menu = []&tableMenu[1]["menu"][1] = [];


these vars describe an associative array "tableMenu" and would like  
to create it by parsing the file...

some think like that :
for (var i= 0; i<myLoadVars.length; i++) {
         _global["g"+i] = this[i]
     }

but it doesn't "eval" the firs argument as an "instruction to fill  
the array.

hope i'm clear

best regards

eric


More information about the FlashPro mailing list