Actually, I wouldn't expect deleting an instance using list operations (ie.
deleteOne) would cause any problems with only one object in the script
instance list either.  My understanding of the problem is that deletion
confuses the list index so that subsequent items in the list may be skipped
on the event where the deletion occured.

> Just to add two cents to this discussion.
> 
> Instead of deleting the reference from the scriptInstanceList 
> why not just set the scriptInstanceList to [] of course that 
> assumes that there is only one object / behaviour attached to 
> the sprite and that setting the scriptInstanceList to an 
> empty list isn't going to have a negative implication to your 
> project. I do this all the time without any apparent hit in 
> terms of memory or otherwise.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to