hey, did i ever tell you guys how much i love this list?! :^)) thanks, kerry, that solved my problem! big hugs, q
At 17:22 24/6/2003 -0400, you wrote:
> hi, rob > yes, you�re right, that�s exactly my problem. i�ve made a > simple dir just > to show what�s happening. here are the scripts: > > movie script > --################## > on startMovie > repeat with i = 1 to 3 > puppetSprite i,TRUE > sprite(i).member = member 1 of castLib 1 > sprite(i).loc = point(400 + random(70),300 + random(70)) > sprite(i).scriptInstanceList.add(script("zoom")) > sendAllSprites(#change,1) > updateStage > end repeat > end > --##################
Try adding an "on new me" handler to your script, and have it return me. Then try creating an instance first, then adding it.
newInstance = script("zoom").new() Sprite(i).scriptInstanceList.add(newInstance)
Cordially,
Kerry Thompson
[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!]
[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!]
