Lost button images after deployment

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gregGASPST
Posts: 2
Joined: Fri Dec 09, 2011 12:11 pm

Lost button images after deployment

Post by gregGASPST » Wed Mar 28, 2012 3:54 pm

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?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Lost button images after deployment

Post by Mark » Wed Mar 28, 2012 4:13 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

gregGASPST
Posts: 2
Joined: Fri Dec 09, 2011 12:11 pm

Re: Lost button images after deployment

Post by gregGASPST » Wed Mar 28, 2012 10:21 pm

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.

Post Reply