puchatek
06-13-2008, 04:29 PM
Hello all
Im new to actionscript and lately i try to make gallery in flash ivedone animations i want now to load a list of avaliable pictures in directory through php or from a file.txt with such list to an array in flash. so im writing like this
_root.MojeDane = new LoadVars();
_root.MojeDane.load("file.txt");
trace(_root.MojeDane.mj);
in file.txt i have:
&mj=1.jpg
while running this in flash 8 i receive in output: undefined (as it should be 1.jpg ...) what im doing wrong?
Puchatek
Im new to actionscript and lately i try to make gallery in flash ivedone animations i want now to load a list of avaliable pictures in directory through php or from a file.txt with such list to an array in flash. so im writing like this
_root.MojeDane = new LoadVars();
_root.MojeDane.load("file.txt");
trace(_root.MojeDane.mj);
in file.txt i have:
&mj=1.jpg
while running this in flash 8 i receive in output: undefined (as it should be 1.jpg ...) what im doing wrong?
Puchatek