Clearing an Image object?

Richard Gaskin ambassador at fourthworld.com
Wed Jan 7 02:17:25 EST 2004


Chipp Walters wrote:

> I've always..
> 
> set the fileName of img "my image" to empty
> 
> I wonder if there's a difference?

If the image is referenced from a file your method is what you want. Oddly
enough it will clear an embedded image, but "the result" contains the error
message "could not open image".

For embedded images the simplest I know of is:

  put empty into <image descriptor>

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com



More information about the use-livecode mailing list