Florian, When you say "produced an error", what are you referring to? Ususally, I have all of my script instances/behaviors return error codes in all of their handlers. That way, if a problem occurs, I return a -1 or -252 or whatever, and a 0 or reference to an object if everything worked out OK. Conditionals can then determine what to do if the call failed. I find good coding has mechanisms in place to trap errors, and handle them if they occur. Why quell "Script Error" messages when you can write code that doesn't cause them in the first place?
Brian Romanko Lead Developer - Neo/SCI Corporation Member - Greater Rochester Macromedia User Group > -----Original Message----- > Hi! > > I am looking for a possibility to detect which script > (especially script > instances) produced an error in projectors in order to > automatically remove it from the actorlist. > > Something like > > on alertHook me,,,,errorComingFrom > deleteOne (the actorlist, errorComingFrom) > end > > I think you know what i mean. > > best regards, Florian [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
