At 21:13 -0700 06/02/2002, Craig Taylor wrote:

[me]

>>Using a movie script to create a global parent script reference?
>>That's nice if you have, for instance, a large memory resident
>>database you need to get into from anywhere in your code.
>
>Currently, I have a data cast member that resides in a parent script:
>
>on mReturnList me
>return [item1, item2, etc]
>end mReturnList
>
>I then create a new instance of this script when I need to access the
>database.  (Irv outlined this method in a DOUG article. Thanks Irv :-)  Are
>you referring to a similar scenario and then just storing it into a global
>variable or something different?

No, that's more or less the idea I had in mind, with a few other 
function calls thrown in to make the thing a more or less complete 
RAM-resident mini-database program.

The difference there would be that the instance (in my scenario) 
would remain permanently in a global variable and would be accessible 
anyplace you needed it. Sort of like the way one instantiates an Xtra.

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
         http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[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