>At 11:58 AM +0000 14/2/2000, Peter Reid wrote:
>>I'm trying to load various images that make up the screen design of
>>my stack directly from disk files rather than have them embedded.
>>However, if I use something like the following:
>>
>> set the fileName of image "MainTitle" to "/MacHD/Images/title.gif"
>>
>>I just get blank filled rectangles instead of the images themselves.
>>If I select the same file from within the MetaCard development
>>environment, it displays correctly. I've even looked at the source
>>code in this part of the development environment and can't see where
>>it's doing anything different to me, but my code simply doesn't work?!
>
>Hi Peter
>
>Try the file path without the leading forward slash:
>
> set the fileName of image "MainTitle" to "MacHD/Images/title.gif"
>
>Cheers
>Dave Cragg
Tried it, no difference!
By the way, if I use the development environment to select the file,
it specifies the filename with a leading "/". So, I'm fairly sure
that the path should start with a leading "/" anyway!
Thanks anyway.
Peter
--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm