Why doesn’t this work? This code is in one of the movieclips on the stage inside onEnterFrame-handler.
if(_root.printed==0)
{
for(i=0;i<_root.lives;i++)
{
_root.attachMovie("lifex", "lives"+i, 30000+i);
axa=24*i;
yxy=200;
setProperty ("lives"+i, _x,axa);
setProperty ("lives"+i, _y,200);
}
_root.printed=1;
}
When I list the objects it says all the objects are there, but I only see one. What’s wrong?