Hi,
I am spawning display objects into a table that are destroyed on the screen randomly. The objects are constantly updated with new body types, which is done via a loop back to all the objects in the table. However, when objects are removed they are not removed from the table, which is causing problems when updating the individual bodies around the table.
In short, is there a way to remove an object from a table by its name and not by an index number, since I have no way of determining which object corresponds to which index number.
Thanks!