Damn...took less time then I thought.  In short, please disregard my
message.  I'm not quite sure why, but if I add the behavior to the
scriptInstanceList in a beginSprite handler of the frame script (sprite
0), any attached behaviors no longer work.  I changed it to enterFrame
with a flag to only do it once, and both were in the scriptInstanceList.
My guess is that if you mess with the scriptInstanceList before the
sprite is on stage, attached behaviors never get added to the
scriptInstanceList (true?).

In the end, I decided not to pre-attach my behavior in authoring mode
and just added it to the scriptInstanceList as well in the frame script
beginSprite handler.

Que sera sera

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group





-----Original Message-----
OK...I know that five minutes after I post this I will figure it out,
but that only seems to happen *after* posting, so here goes.

<SNIP>


[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