On 17 Sep 2004, at 20:01, Frank D. Engel, Jr. wrote:

Okay, it seems I'm at it again.

I have a handler in an image, which contains the following block of code:

  answer file "Select an image to insert:" as sheet
  put it into l
  if l is not empty and there is a file l then
    answer l
    set the lockLocation of me to true
    put URL "binfile:" & l into me #####HERE
    set the lockLocation of me to false
  end if

I select a PNG or JPEG image file when prompted, the "answer l" command (obviously for debugging purposes) displays the correct filename, and an all-white image is inserted where a nice, fancy, colorful one should be. Using

put URL "binfile:/Users/username/Desktop/afile.png" into image "imageName"

Try replacing the line marked HERE with this;

    put URL ("binfile:" & l) into me

Cheers
Dave

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to