Create Image, Hide Image

J. Landman Gay jacque at hyperactivesw.com
Tue Dec 10 11:54:01 EST 2002


erik hansen <erikhans08 at yahoo.com> wrote:

> --- "J. Landman Gay" <jacque at hyperactivesw.com>
> wrote:
> 
>>> Changing the filename property of an existing
>>> image will change the image it displays, so all
>>> you need is a single, permanent image object
>>> that a script can update to contain different
>>> image content.
> 
> 
> is this in any way different from setting a
> permanent btn to a changing icon?

The concept is the same, but the execution is different. Icons must be 
referred to by an ID number, which means the images must be stored in 
the stack (only MC objects have IDs.) The filename property of an image 
is a reference to a file on disk.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list