loadMovie Dynamic Url Problem
Posted on 2004-09-22
Hi, I'm going crazy with this problem, so any help would be greatly appreciated. (using Flash MX Pro v7.2)
I can't get loadMovie to work via a dynamic path as set out below:
moveTitle=335; // moveTitle is really a number read in from a text file;
The trace indicates that newData is 335.swf and is of type string, however loadMovie(newData, 0) doesn't work.
If I hardcode the string, then it does work. i.e. loadMovie("335.swf", 0)
I have also tried loadMovie(eval(newData),0), but still no joy.
Any ideas? Thanks in advance.