Page 1 of 1

Background not showing in ios

Posted: Wed May 28, 2014 2:57 pm
by hsh_636
Hello everybody I put a background for my stack and it shows perfectly on the card until I test it in the ios simulator because once I do it doesn't show the background I put can anybody tell me what's wrong?

Re: Background not showing in ios

Posted: Wed May 28, 2014 3:14 pm
by Klaus
Could you eventually provide a TAD more info? 8)

What background? An image, a group with controls?
Any card/stack scripts dealing with backgrounds/groups?
What version of LC?

Re: Background not showing in ios

Posted: Wed May 28, 2014 4:00 pm
by hsh_636
Yeah sorry about that I added the background by putting the image into the image library then went to colors and patterns in the card inspector and then clicked on the image thats in the image library.

Re: Background not showing in ios

Posted: Wed May 28, 2014 4:08 pm
by Klaus
Aha, I never used the "image library", no idea how it works, but does LC add the image library when creating a standalone?
Maybe there is a checkbox or something in the standalone builder settings?

Maybe you better put the image directly into your stack?

Re: Background not showing in ios

Posted: Wed May 28, 2014 4:28 pm
by hsh_636
Yeah but wouldn't cover up the contents that is already there I can use bending but it still doesn't look right.

Re: Background not showing in ios

Posted: Wed May 28, 2014 4:39 pm
by Klaus
hsh_636 wrote:Yeah but wouldn't cover up the contents that is already there I can use bending but it still doesn't look right.
:shock:
Sorry, don't get this!?

Re: Background not showing in ios

Posted: Wed May 28, 2014 8:22 pm
by hsh_636
Sorry for the late reply, but I meant was I already have buttons and fields on the card so if I use your method it will cover up the buttons and the fields.

Re: Background not showing in ios

Posted: Wed May 28, 2014 9:25 pm
by Klaus
Set the LAYER of the image to a lower number, via script or the inspector 8)

Re: Background not showing in ios

Posted: Wed May 28, 2014 9:34 pm
by sefrojones
You can push an Image all the way to the back, by pressing this button in the property inspector. :)
Layer.PNG

Re: Background not showing in ios

Posted: Wed May 28, 2014 11:08 pm
by hsh_636
Thanks for all your help Mr. Klaus and Mr. sefrojonesGAda40.

Re: Background not showing in ios

Posted: Thu May 29, 2014 10:48 am
by Klaus
I may repeat myself, but you really should work through these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html