The whole id number thing
MisterX
b.xavier at internet.lu
Tue Jun 21 14:50:59 EDT 2005
Shari,
The quick and dirty solution i found was to use imageID&&imageName as
the name... This works quite well. You could eventually put stackname &&
imageid as well.
What is really missing though is a "if there is an image id x" that
looks in all stacks because if images have a global behavior which they
do, the there an image should work that way too...
BTW, 2.6 seems to generate new ids for images... Did i miss that one too in
the what's new? ;)
cheers
Xavier
> -----Original Message-----
> From: metacard-bounces at lists.runrev.com
> [mailto:metacard-bounces at lists.runrev.com] On Behalf Of Shari
> Sent: Tuesday, June 21, 2005 13:18
> To: metacard at lists.runrev.com
> Subject: The whole id number thing
>
> I ended up using Xavier's solution of creating a cloned
> object to change the id, though I still swear somebody
> actually had another way.
>
> It's kind of a bugger because I name everything, but even
> that doesn't avoid conflict. I imported a graphic and named
> it. Then set the icon of a button to the imported graphic,
> using its name.
>
> set the icon of btn someButton to "nameOfGraphic"
>
> But apparently the graphic which was in another stack, had a
> duplicate id number to something in Metacard, even though its
> id number was very high. And the icon was a question mark,
> which I never could find in Metacard's stacks.
>
> Using the graphic's name didn't override anything. It still
> turned the name into the id number, then promptly pulled
> Metacard's graphic with that id number. I cloned the object
> and deleted the original and this fixed it. But still would
> have been nice to have been able to change the number.
>
> I thought all of Metacard's built in graphics used id numbers
> under 1000?
>
> Shari
> --
> Mac and Windows shareware games
> http://www.gypsyware.com
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
More information about the metacard
mailing list