Kurt Griffin wrote:

...
 t = script("MoveObject_Behavior").new(sprite(1))
sprite(1).scriptInstanceList.add(t)

Or, if you know that this is the only behaviour you want on the sprite:


sprite(1).scriptInstanceList = [t]

--

Carl West
mailto:[EMAIL PROTECTED]
http://carl.west.home.comcast.net
[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!]

Reply via email to