two images with the same ID
Terry Judd
tsj at unimelb.edu.au
Tue Jun 28 03:32:13 EDT 2011
On 28/06/2011 05:04 PM, "Slava Paperno" <slava at lexiconbridge.com> 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?
You can just give your imported image a different and non-conflicting id
using the property inspector.
Terry...
>
> Thanks,
>
> Slava
>
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne
More information about the use-livecode
mailing list