Hi Luke, I understand your point. But how about using 'actorList' and 'on stepFrame' handler. It doesn't need 'if test' either. Are there any reason you prefer 'ancestor' approach? _____ Luke Wigley wrote: > PS - This approach might appear a little more complicated than necessary > since it uses two scripts - ie. you could make a single behaviour that did > "if IamBeingDragged then doDrag" test every exitframe. However, I think the > approach I've used is a lot more neater (and the project I am working on has > a lot of sprites, and with all of them doing 'if tests' on exit frame, > performance slows down noticeably) Regards, Fumio Nonaka Attain Corporation [EMAIL PROTECTED] [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