Jakob,
I'm trying to understand and put to use your sage advice regarding LDMs.
I've remade my external cast as a .dir movie file, and have imported it into
the internal cast of another movie as a linked Director movie. I've enabled
scripts on that cast member, but can't seem to access the parent scripts in
that LDM.
Can you provide some further detail about how to do this? Can you be
specific?
Thanks!
-Christopher
-----Original Message-----
From: Jakob Hede Madsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> The Merits (or Not) of Protection
First of all, I think you might be able to use a LDM (Linked Dir Movie).
It will link to an open .dir file in authoring, while providing
protection of your code.
It will have to be placed in the score, at least while you
instantiate, or "extract" the classes.
You could instantiate a containerClass, from the LDM into a
persistent variable in the stageScope, through the "tell sprite"
syntax.
Then "forget" the LDM, and access your scripts from the containerObject.
You can instantiate a script directly from a variable, even if the
source-script-member is no longer available.
[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!]