Re-Render Card-image that has moved on disk

Monte Goulding monte at appisle.net
Sat Mar 12 22:02:35 EST 2016


There has been an image cache for a while. You can clear it by setting the imageCacheSize (I think that's the name of the property) to 0 then back to whatever it was.

Sent from my iPhone

> On 13 Mar 2016, at 1:20 PM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 
> LC8 dp 15  (perhaps was doing this before)
> 
> open stack which has card with image "listen-background"  filename prop for the image is set to a file on disk.
> 
> on disk: move the file into another folder
> 
> go back to LC, move to another card and come back to the above card: image still appears, even though it is no longer there at that location on disk. Save stack; close and remove from memory, reopen... now that card-image is blank.  On disk (in finder) move image back to original location... go back to the card... path is correct, image is there, image is still blank. click on browse in the property inspector, re-select the image on disk.  image is still blank...
> 
> save. close, reopen stack... now the image appears.
> 
> is this a bug?  I could have sworn in earlier versions the image was "responsive" run time.. but now it is as if the image "state" is cached and never updated until the stack is reopened. Is there a way to  cause the card/image to refresh and update?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list