imageSource and "binfile:"

Jim Hurley jhurley at infostations.com
Sat Jun 28 10:22:00 EDT 2003


>__--
>
>Message: 13
>Date: Fri, 27 Jun 2003 16:31:04 -0500
>From: "J. Landman Gay" <jacque at hyperactivesw.com>
>Organization: HyperActive Software
>To: use-revolution at lists.runrev.com
>Subject: Re: imageSource and "binfile:"
>Reply-To: use-revolution at lists.runrev.com
>
>On 6/27/03 4:00 PM, Shao Sean wrote:
>
>>  thanks, but the docs say _not_ to use the URL keyword (but
>>  i'll try it anyways)
>
>Yeah, that's what Dar pointed out too, and you are both right. I wasn't
>thinking. To make up for it, I did a test. This works for me on OS X:
>
>   answer file "Choose an image:"
>   set the imagesource of char 1 of fld 1 to ("binfile:"&it)
>
>So all I can think of, if it doesn't work for you, is that maybe the
>path isn't quite right in your script.
>
>--
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com
>


I learn something new with every edition of this list. I was unaware 
of this ability of RR to replace text characters with images.

Apparently there are some conditions in its application that I am 
missing. Every time I try:

   answer file "Choose an image:"
   set the imagesource of char 1 of fld 1 to ("binfile:"&it)

my computer either locks up, forcing a restart, or RR itself quits. I 
have set the fixedLineHeight to false. What am I missing--what 
conditions must apply to the character and/or the image?

Jim




More information about the use-livecode mailing list