Page 1 of 1

Lost button images after deployment

Posted: Wed Mar 28, 2012 3:54 pm
by gregGASPST
I just deployed my first app to my iPad. Everything is fine except for three of the buttons appear as black boxes. The first is a skinned button. The other two are start and stop buttons that I created from the toolbar. I am using several other skinned buttons and they all show up fine. What am I missing?

Re: Lost button images after deployment

Posted: Wed Mar 28, 2012 4:13 pm
by Mark
Hi,

Due to a bug, LiveCode doesn't always render PNG files (and maybe also GIF files) correctly. You might want to make sure that you save your picture as JPG before importing it into your stack.

Another possibility is that you forgot to include the picture in your stack before making a standalone.

Kind regards,

Mark

Re: Lost button images after deployment

Posted: Wed Mar 28, 2012 10:21 pm
by gregGASPST
It appears that the template image for the skinned button had an external reference to the actual image file. I took out the reference and reimported the image control and that seems to have resolved the problem. For the other two push buttons they were not marked as opaque. Checking opaque seems to have cleared it up. Thanks.