At 8:32 PM -0800 11/16/2001, Mark MacKenzie (Shaw) wrote:
>If the second file resides in the same folder as the original image file how
>do I specify "relative filenames" in this type of use?
>I have for testing purposes a simple timer function which sends the message
>"starttheshow" to the target image object.
>The target object has the following script:
>on starttheshow
>  set the filename of image "Foolscap" to
>"/Resources/Images/tablecontents.png"
>end starttheshow

I'm not completely sure what's causing the problem you're seeing, but I
suspect the pathnames are not quite right. For example, the above is an
absolute pathname pointing to a file "tablecontents.jpg", inside a folder
called "images", which is on a disk called "Resources"...which I suspect is
not what you're wanting to specify.

If I understand correctly the configuration of your directory setup, and
assuming you have not changed the defaultFolder in any of your handlers, I
believe simply removing the leading slash from your filename specifications
will get your handler working. If this doesn't do it, please let me know.

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


Reply via email to