That's a point I had missed. 
Still, I was trying to keep it simple, 'cause I've been there...

-Clars


Irv Kalb wrote:

> Good explanation, but I'll add one comment.  Only one copy of the
> script lives in memory.  When you use multiple "instances" of a
> behavior  (e.g., use the same behavior on more than one sprites),
> Director allocates memory for a copy of the property variables in the
> script.  "me" is actually the address of the property variables for
> the current instance.  Because of this, using behaviors (or parent
> scripts) can be very memory efficient.  When the code of the behavior
> runs, it needs to know where its current property variables are - and
> the value of "me" tells it where to find them.

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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