images gone in standalone
devin_asay at byu.edu
Mon Oct 3 11:52:08 EDT 2011
On Oct 3, 2011, at 5:00 AM, Curt Ford wrote:
> My project has about 12 images, most of which are used as the icons for buttons with normal, hover, and disabled states, and two as images displayed on a card. When I build a standalone on Mac (haven't tried Windows yet), the images are gone, replaced by grey boxes; the buttons function normally otherwise. I used Import as Control to put them onto a card that's just storage for graphics. They're still showing normally on that card in development, but when I go to that card in the standalone, there is nothing but the grey boxes.
> When I check the application browser they are all still listed for the graphics card. When I check the Images library for 'this stack' they usually are there, though I could swear a few times choosing 'this library' has given blank rows..
> I've tried reimporting through Import File... in the Image Library with no better result.
> Don't know if it's relevant, but I have renamed the file in the Finder in between sessions. Could that lead to some link being lost?
It's hard to say without seeing the stack, but it sounds like what happens when you use some of the included standard images included in the LiveCode IDE. If so, you have to make sure the image is imported, not referenced. But since you said you imported them, I'm not sure why they would disappear in the standalone.
Also make sure that the ID numbers of your imported images do not conflict with ID's of the standard images. That can cause odd anomalies when viewing your stack images in the Image Library.
Humanities Technology and Research Support Center
Brigham Young University
More information about the Use-livecode