Am 17.01.2006 um 15:53 schrieb Mendelsohn, Michael:
Hi list...
I'm running into an issue with scriptInstanceList. Sprite(1) has a
behavior with some params, and sprite(2) has a behavior with no
params.
Putting sprite(1).scriptInstanceList gives the expected array.
Putting sprite(2).scriptInstanceList gives [].
search for the exact term "scriptInstanceList" in all your scripts.
watch if any of the matches reads:
a.)
property scriptInstanceList
or b.)
me.scriptInstanceList = []
or c.)
<someOtheVariableNameHoldingAReferenceTo_ME_>.scriptInstanceList = []
and happens to be on one of the behaviors you have on sprite 2.
that would be my first guess, but there may be a number of other
reasons...
I think it must definately be something "funky" you're doing, as no
one else did encounter the problem earlier and 99.9% of the movies
would have massive problems if the SIL of a sprite with a behavior
would be [], I guess ;-)
and: be careful with referring to the SIL of empty sprites !
if your script accesses the SIL, the sprite must NOT be empty
otherwise the channel will be "dead" throughout the whole movie,
which may lead to the issue you're encountering.
---------------------------
|||
a¿ex
[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!]