Losing an image icon on reopen

Ken Ray kray at sonsothunder.com
Wed Nov 10 22:24:32 EST 2004


On 11/10/04 2:59 PM, "Jim Carwardine" <JimCarwardine at OwnYourFuture-net.com>
wrote:

> Still wrestling with images... When I'm working in the IDE, I can create a
> graphic using export snapshot, reduce it and set it as an icon of a button.
> Everything works great.
> 
> Then I save the file and quit Rev.
> 
> When I reopen the file in the IDE, the new icon is gone.
> 
> I thought the IDE would allow me to save an icon created this way.  I've
> done this using a file path for the image and it works fine.  Now, I'm
> getting ready to send my stack out to be demo'ed (so file paths won't work)
> and I'd like to keep the images in the stack so they can be used.
> 
>  Is there something I'm missing?  Jim

So you're using "export snapshot...to rect" right? If so, are you perchance
deleting the graphic after you assign it as an icon?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list