ok here’s the problem I am creating multible objects from an array which holds values like this;
object_array[0] = [["type1",xpos,ypos],["type2",xpos,ypos]];
i create the objects like so;
for (i=0; i<_root.mission_array[_root.mission].length+1; i++) {
_root.attachMovie("enemy2", "e_"+i, i+200);
_root["e_"+i]._x = _root.base._x+_root.mission_array[_root.mission]*[1];
_root["e_"+i]._y = _root.base._y+_root.mission_array[_root.mission]*[2];
_root["e_"+i].gotoAndStop(_root.mission_array[_root.mission]*[0]);
}
it will do everything except tell the clip to gotoAndStop at the right frame. I can’t figue out why it doesn’t work. Anyone got the answer?