hi, warren
yes, you´re right, but it wouldn´t solve the problem. to create an instance of the script did. interesting that when you assign a script to the scripinstancelist of several sprites they act like one. probably they refer to the same memory adress or something like that. but it´s unexpected.
thanks,
q


At 16:48 24/6/2003 -0500, you wrote:
On Tuesday, Jun 24, 2003, at 16:11 America/Chicago, Quixadá 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:

The very first thing you should do is put the sendAllSprites call *outside* of your repeat loop.


Try this.

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"))
  end repeat
  updateStage
  sendAllSprites(#change,1)
end


Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Developer | Structor, a presentation development/programming tool Info and demo | http://www.nightwares.com/structor/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/

[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!]

Reply via email to