Why does my picture not appear in stand-alones?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Why does my picture not appear in stand-alones?

Post by stephenmcnutt » Thu Nov 19, 2009 4:37 pm

I've got a picture I'm using as a background although it's not set as a background per se. It's just sitting there behind everything else. When I make stand-alones, both Windows and Mac OS X, the picture is gone, and I instead see a sort of gray background. The picture in question, a JPEG, was imported as a control, so it's not just a reference to an external picture.

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: Why does my picture not appear in stand-alones?

Post by ukimiku » Sat Nov 21, 2009 9:17 pm

Hi Stephen,

I experienced the same after importing a picture as a control. When I used the IDE to make this picture the background (under the "Colors and patterns" tab), I was suddenly left with two copies of the picture. One had indeed become the background, the other was still in the foreground. So I deleted the front-most picture, and my stack worked as expected in the IDE. But when I built a stand-alone, the picture was gone competely, and I noticed the same gray background that you were confronted with. My solution: I did not delete the front-most image, but made it invisible in the IDE. Then my stand-alone would run correctly.

Regards,

stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Re: Why does my picture not appear in stand-alones?

Post by stephenmcnutt » Tue Nov 24, 2009 3:23 pm

Thanks for your help. I believe I read your post about your problem before posting my issue (or a post about the same issue, anyway). In my case, though, I haven't actually designated the image as the card's background. Nevertheless, I'm still getting the gray thing instead of the picture in the stand-alones. I could try your solution, but surely this is an issue others have faced. I'd like to figure out exactly what's going on. Thanks again.

Post Reply