Hi, Basically I am attaching a movieclip to the stage called “polaroid”, then dynamically loading a jpeg into it “polaroid.holder”. But it doesn’t work. It seems that if I dynamically set the instance name of the polaroid clip from attachmovie it won’t work. Any ideas why?
Thanks!
i=1
function loader(){
choice = Math.round(Math.random()*5);
containernew = "container"+i
trace(containernew)
_root.attachMovie("polaroid",containernew, i);
containernew._x = random(300)
containernew._y = random(300)
_root.containernew.holder.loadmovie(choice + ".jpg");
i++
}
setInterval( loader, 1000 );