If I set the "source" of an image in its inspector by clicking on the little 
file icon and selecting the file from the dialog box, the source field in the 
inspector shows "./test.image.jpg"

Same thing happens with File menu: New referenced control: Image file...

Yet if I write a script:

import paint from file "./test.image.jpg"

I get an error, presumably because the path name of the image is incorrect.

On the other hand, the script:

import paint from file "/users/Daddy/Documents/Rev Documents/project 
images/test.image.jpg"

does work.

Yet, if I paste

/users/Daddy/Documents/Rev Documents/project images/test.image.jpg

Into the "source" field of the inspector for an image, the image doesn't 
display.

This seems inconsistent. I don't get it. Is there a simple explanation?

Thanks in advance,

Tim
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to