two images with the same ID

Bob Sneidar bobs at twft.com
Tue Jun 28 10:56:27 CDT 2011


Also, consider using a stack as a library, and putting all the images relevant to the entire application on one card in that stack. To make a stack a library stack, simply "start using" it. It doesn't have to be a substack, and you can use the same library stack for all your apps, making it possible to have shared code as well. The stack script of a library stack gets inserted as a backscript. 

Bob


On Jun 28, 2011, at 12:04 AM, Slava Paperno wrote:

> When I imported an image into a substack, it was given the same ID as
> another image in another substack. When I tried to assign one of these
> images as an icon to a button, the wrong image was assigned, and the button
> didn't look like what I wanted it to look. The two images have different
> short and long names, but as far as I could tell, only the numerical ID are
> used to assign an image as an icon to a button. So I was stuck.
> 
> I resolved this by importing the image again, so it was given a new, unique
> ID. Now I have the same image imported twice. It's not a big problem because
> the image is small, but I wonder if this is a normal situation, and if not,
> how would you resolve it in a smarter way?
> 
> Thanks,
> 
> Slava
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list