Trouble with button icon images

Pete pete at mollysrevenge.com
Sat Dec 24 11:56:56 CST 2011


Thanks Jacque.  When I use the library, I use the Place Reference button to
put a button on whatever card I'm working on, preconfigured to refer to the
image as its icon.  Are you saying that those images won't show up when I
build a standalone?
Thanks,
Pete

On Sat, Dec 24, 2011 at 9:22 AM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 12/24/11 10:45 AM, Pete wrote:
>
>> Hi Mark,
>> Changing the ID fixes the problem, thanks.  What might be the cause of
>> this?
>>
>
> ID conflicts. Each stack can have its own ID numbering, so another control
> somewhere may have had the same ID. If the image with the conflicting ID is
> large or has transparent areas, it may have looked like the icon was empty.
>
> Besides using a substack, you can also place all your icon images in a
> group on the mainstack and then unplace the group from all cards. They'll
> be accessible from anywhere, you won't need an extra stack, and no card
> will display them. ID conflicts can still occur, so each image will need a
> unique ID.
>
>
>
>> On a related topic, I'm wondering what are the advantages/disadvantages of
>> using the Image Library versus putting the application's images in a
>> substack.  I used to import my images into the Image Library and refer to
>> them directly in there but changed to using a substack because I got the
>> impression from some list posts that it might not be a good idea to use
>> the
>> Image Library (can't remember why).
>>
>
> The image library is a convenient storage area for commonly used content,
> but it won't automatically move your images to your stack. That means if
> you distribute the stack or a standalone, the images will be missing. Use
> the library's "place" button to move the images into your working stack
> where they can be found.
>
> It's no different than importing images from disk, but for things you use
> often the library is more convenient. I have a couple of image libaries I
> use all the time.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>


More information about the use-livecode mailing list