If this fail, try change the function loadImage to get an String as parameter and then
when you gonna load the image, you use the eval, or simple text
function loadImage(url:String, mcX:String):void {
// Set properties on my Loader object
imageLoader = new Loader();
imageLoader.load(new URLRequest(url));
imageLoader.contentLoaderI
imageLoader.contentLoaderI
}
Main Topics
Browse All Topics





by: furmigaPosted on 2009-11-05 at 14:43:37ID: 25754927
Hi there!
I'm not familiar with AS3 but do we still have the eval Function ?
If so, how about change the loadImage(theImageText, "mc" + t) to loadImage(theImageText, eval("mc" + t)) ?
Ralph