Background img freezing script
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Background img freezing script
Hello, I coded a native scroller (lorem) for my group that has an large image using Livecode "8.1". It runs smoothly on android tablet. The issue comes in when I add a background button and fill in with imported png image on separate card. Then it freeze. I am not used to building for mobile.
Is there a trick or something I have to do in order to get this working smoothly again. I prefer to use my imported background images for my button (background). I traced it down to this because I change the background to a solid color and it works fine again.
Thanks for any help.
Is there a trick or something I have to do in order to get this working smoothly again. I prefer to use my imported background images for my button (background). I traced it down to this because I change the background to a solid color and it works fine again.
Thanks for any help.
Re: Background img freezing script
I'm not quite sure how the button is involved, but in general a scroller requires acceleratedRendering to be turned on, and the group's layermode should be set to "scrolling".
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Background img freezing script
Thanks jacque for responding. The button is just functions as background with controls in front of it. I included a very simple script to show you what I mean by imported background img.
Thanks
Thanks
- Attachments
-
- backgroundExample.zip
- Only shows background difference- no scrolling code
- (22.08 KiB) Downloaded 199 times
Re: Background img freezing script
I don't usually download files from the forum (screenshots are better) because typically I'm not at my computer when I visit the forums. Regardless of the setup though, I think you do need to experiment with acceleratedRendering and layerMode. Those properties were made specifically to allow smooth animations and scrolling.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Background img freezing script
There is no script anywhere in that example stack?newpie wrote:Thanks jacque for responding. The button is just functions as background with controls in front of it. I included a very simple script to show you what I mean by imported background img.
Thanks

Re: Background img freezing script
Thanks Klaus, yes there is no script there. I was just trying to answer the question regarding "how the button is involved". Sorry to confuse.
Re: Background img freezing script
OK, but that may have shown a problem, which I cannot see in the moment.
Re: Background img freezing script
Hello, apologize for late reply, I believe it is the android tablet I am using. It is low-level and just can't keep up with the image loading/rendering. Thanks for your help though.