Ok guys…here’s one with a (hopefully) obvious solution. I have a flash movie that loads one of 27 flash movies randomly into the main movie via a container called “nsbe” using this action script:
i = random(27)+1;
loadMovie(“nsbe”+i+".swf", “nsbe”);
Simple, right? Works like a breeze when i publish in flash 5 or 6…but I would like to go lower…to flash 4. And when I do, I get this error message
Error opening URL “file:///D|/My%20Webs/NSBE%20Region%204/11”
Essentially, Flash 4 seems to only recognize the randomly generated number, totally forgetting about the “nsbe__.swf” (in the above case, number “11”)!
I tested just loading one specified movie and that worked in Flash 4…but the random thing just isn’t cooperating, so i’m confident the cluprit is the “loadMovie” command. I’ve tried messing with the script more, but no good.
Is there a better code to use that will make this thing load my random movies in Flash 4? Is there something really basic i’m missing?
Thanks in advance, guys!
Adrian J.