Image cache question
devin_asay at byu.edu
Wed May 21 17:44:31 CEST 2014
On May 21, 2014, at 8:08 AM, Phil Jimmieson <phil at liverpool.ac.uk> wrote:
> Hi Ben,
> thanks. That works perfectly. No complicated commands or anything.
> On 21 May 2014, at 15:01, Benjamin Beaumont <ben at runrev.com> wrote:
>> Hi Phil,
>> This was discussed by the team at the time. There is no special handling
>> for the changing of images currently referenced by the cache. I spoke to
>> one of the engineers and he suggested unsetting the reference to the image
>> as the cache will release images that no longer have a reference. Reseting
>> the filename will cause the image the be recached in it's new form.
Do you mean all you have to do is set the filename property of the image to empty, then set it to the external file reference again? The dictionary ought to be updated, or a note added, to alert users on how to do this.
Learn to code with LiveCode University
More information about the use-livecode