Eric Greene <[EMAIL PROTECTED]> wrote:

> 'add Sprite(pThisSpriteNum).scriptInstanceList, me'.
> 
> That works to add the child to this list, but I can't get it back off so
> easily.

Hi Eric,

Open your Internet connection then type this in the Message window:

  go movie "http://perso.planetb.fr/newton/movesprite.dir";

This should load a movie which contains a parent script with the following
code (extracts):


on new me, aSpriteNumber
  set spriteNum = aSpriteNumber
  -- other code
  set behaviors = the scriptInstanceList of sprite spriteNum
  append (behaviors, me)
end

on exitFrame me
  if <condition> then
     deleteOne (the scriptInstanceList of sprite spriteNum, me)
  end if
end


Is this what you are trying to achieve?

Cheers,

James

[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