At 9:38 PM -0700 7/16/2001, Philip Usher wrote:
>When you distribute a standalone built from a stack with referenced files or
>imported files, do you put these files in the same folder as the standalone?

You can, basically, put them anywhere you want them, as long as your paths
(in the filename property) are set up to refer correctly to the file.
(Imported files are brought into the stack itself, so you don't need to
keep the originating file with the standalone. Only referenced files must
be distributed along with the standalone.)

For example, if your stack contains a referenced image, where the file
being referenced is "foo.gif", you can set the image's filename property to
simply "foo.gif" and place the file in the same folder as your standalone.
The standalone will find the file in this location.

On the other hand, suppose you want to place the image file in a folder
called "Images". Then you will set the filename property to
"Images/foo.gif". When the standalone and the Images folder are inside the
same folder, the standalone will be able to find the image file using this
relative path.

>Is there any documentation about this?

Check out the Encyclopedia topic on file paths, as well as the entry in the
Transcript Dictionary for the filename property. (A new Encyclopedia
article on creating standalones is in the works, which will cover these
issues in more detail.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!


Reply via email to