Jeanne and Wil

Thanks both for your responses. Having determined that the 
defaultFolder was not as I thought it was - thanks Jeanne, I was then 
began to contemplate how to set it for any standalone - thanks Wil 
and xworlds.com. Done. I am now able to continue down my path of 
Revolution enlightenment.

Greg

>Greg-
>
>You might want to type "put the directory" in the message box and
>make sure that the current working directory is what you think it is.
>Also, I found this little snippet over at xworlds.com to make it be
>what one might expect both when running as a standalone and as a
>stack during development. One might want to store the itemDelimiter
>before changing it, the reset the itemDelimiter to the stored value,
>rahter than assuming that it is a comma, just to make the code more
>general.
>
>on preOpenStack
>      get the effective fileName of this stack
>      set the itemDelimiter to "/"
>      put empty into last item of it
>      set the directory to it
>      set the itemDelimiter to comma
>      --put rest of preOpenStack script here
>end preOpenStack
>
>-Wil
>

At 10:21 PM -0700 7/10/2001, Greg Wills wrote:
=>I am trying to use a set of graphic files in a folder to be displayed
>in a stack (on a Mac). It should be easy to use the "link to file" in
>the property window. When the "absolute" path is included the graphic
>shows, however if I try to place a "relative" path ie
>"../pictures/ice.jpg" the graphic is not shown. What am I doing wrong?

The first thing to do is make sure the relative path is correct. Try this
in the message box:

   there is a file "../pictures/ice.jpg"

and see whether it evaluates to true or false. If it evaluates to false,
there's something the matter with the path - possibly a misspelling, or
maybe the defaultFolder isn't what you think it is and so the relative path
is starting out in the wrong place.

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

Reply via email to