must externals be defined at startup?

Klaus Major klaus at major-k.de
Thu Nov 11 16:15:01 EST 2004


Hi Rob,

>> I'm reading the docs for the "externals" command:
>>
>> Specifies a list of files containing external code that are to be 
>> loaded into
>> memory when the stack opens.
>>
>> I've got a Revolution app that resides on the user's hard-drive, and 
>> then
>> calls anothe Revolution app off a server on the internet.   Can I 
>> define
>> externals when the hosted Revolution app loads, or does it all have 
>> to take place
>> beforehand by the locally-run app?
>>
>> For instance, could I store by externals on the host, and have the
>> host-stored rev app load those externals?
>
> If you "start using" a stack that has it's external property set then 
> the external will become available to your application.  So you can 
> download a stack that has it's externals set to 
> "myCoolExternal.bundle" and then start using the downloaded stack to 
> make the handlers in myCoolExternal.bundle available to your 
> application.  This gets around the problem of having to set the 
> externals at startup.

Listen to Trevor, he knows what he's talking about! :-)

And i doubt that you will be able to successfully set the externals of
your downloaded stacks to some files that reside on the server!

I don't think that the "externals" property will accept "http" or "ftp" 
urls.

But i may be wrong... ;-)

> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list