Cached imagesource
J. Landman Gay
jacque at hyperactivesw.com
Thu Jan 7 00:03:02 EST 2010
Scott Rossi wrote:
> Recently, Jacque Landman Gay wrote:
>
>>> No change. Your old image will still be there. If you can figure out how
>>> to re-load, I'd love to hear it.
>>>
>> Just noticed this works:
>>
>> set the imagesource of char 1 of fld 1 to ("binfile:nada") -- doesn't
>> exist
>> set the imagesource of char 1 of fld 1 to ("binfile:"&it)
>>
>> Seems like I shouldn't have to do that.
>
> What worked for me: set the imagesource of char 1 of fld 1 to " "
>
> Was just about to send you a stack, but it appears you got it figured out.
I tried setting to empty several times, but it doesn't work here. It
works there? Using the same file name?
What I decided to do after all was store each image with different file
names, even though I said I didn't want to. That seems reliable and I
think the code will be more robust.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list