Page 1 of 1
mobile backgroundpattern
Posted: Fri Mar 27, 2015 3:36 pm
by vedus
I have some images so the user can change the background in app.
The images is on the folder and the folder is on standalone copy files.
the images exist in substack.
so i use the bellow simple code to change it on IDE (mac) and working fine.
Code: Select all
set the backgroundpattern of stack "MyStore" to 1037
when i test it on the simulator or the device the background pattern no change.
i miss something or is bug?
Re: mobile backgroundpattern
Posted: Fri Mar 27, 2015 4:19 pm
by jacque
Set the filename of the source image first before setting the background pattern.
Re: mobile backgroundpattern
Posted: Fri Mar 27, 2015 5:40 pm
by vedus
jacque wrote:Set the filename of the source image first before setting the background pattern.
Hi jacque thank you.
In the substack on the image i use >Basic Properties -> Source > and the filename exist on source.
in the standalone copy files is >images/*
Still i get the same no pattern change.
Re: mobile backgroundpattern
Posted: Fri Mar 27, 2015 6:05 pm
by jacque
The filename on the desktop is not the same in a mobile app. You can check the box in standalone settings -> Copy Files that says "Copy referenced files". I think that will translate your file paths to work on mobile.
Re: mobile backgroundpattern
Posted: Fri Mar 27, 2015 6:11 pm
by vedus
jacque wrote:The filename on the desktop is not the same in a mobile app. You can check the box in standalone settings -> Copy Files that says "Copy referenced files". I think that will translate your file paths to work on mobile.
Is checked,but still no results.
Btw i use LC commercial 7.0.4 (rc2)
Re: mobile backgroundpattern
Posted: Fri Mar 27, 2015 10:56 pm
by jacque
Put all your images into a folder with the name "Referenced files", or whatever you named the folder in standalone settings. Reset all the image paths to point to their location inside that folder. Make sure the checkbox is still selected, and try rebuilding the app again.
If that doesn't work you'll need to set the file paths from a script. But first see if this works.