Tuesday, September 20, 2005, 2:42:48 PM, Michael wrote: MM> Seems very interesting, but can you change the value of a prop of an MM> uninstantiated script?
Yes - that's how the counter works in my shared counter example. Each instance of the script increments the counter property on the uninstantiated version of the script object, so they all increment the same shared counter property. www.robotduck.com/content/articles/director/programmingTechniques/sharedCounter I use this method all the time to store a list of the script instances. Each instance (in it's 'new' or 'beginsprite' handler) adds itself to "me.script.instanceList". This makes it really easy to talk to groups of instances, or for those instances to talk to each other. - Ben _______________________ duck_at_robotduck.com www.robotduck.com [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!]
