Import images confusion

Mark Wieder mwieder at
Thu Feb 24 18:10:11 EST 2011


Thursday, February 24, 2011, 1:33:26 PM, you wrote:

> Hi all. 

> I import a PNG as control all is well. I assign the icon of
> another button to that imported image. Hey there it is! I delete the
> imported control, HEY the icon disappeared! 

> Is it true then that the image is attached to the imported
> control and deleting the control deletes the image? So I have to
> keep a card with all my imported images? Seems there must be  better
> way. 

Well, the image has to be *somewhere*, right? I deal with this by
treating the imported image as a button, but if you need to assign the
image's id to a button you do need to keep the original image around.
In that case you could just make the original invisible.

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list