Brian Romanko <[EMAIL PROTECTED]> wrote:
> if I add the behavior to the scriptInstanceList in a beginSprite handler
> of the frame script (sprite 0), any attached behaviors no longer work.

Hi Brian,

When a sprite is instanciated, Director checks to see if the
scriptInstanceList is empty.  If not, it reckons that the sprite already
existed in a previous frame, and stops treating it.  This explains why your
attached behaviors no longer work.

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