Excellent!

Thank you both, that works perfectly.

Is this behavior to be expected, or should this be bugzilla'd? I would think of this as a bug, but I did a quick search and came up empty...

At any rate it works this way!

On Sep 17, 2004, at 3:53 PM, Klaus Major wrote:

Hi all,


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

Yes, the latest engines seem to be more sensible to "missing quotes" ;-)


Cheers
Dave

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


-----------------------------------------------------------
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

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

Reply via email to