I have created an app for Android on Windows 7, first using LiveCode 6.2.2 then 7.0.0 - the problem occurs in both. In my Mainstack, I have a card with an image and the script for the image opens a substack when you click on the image. It works fine in the IDE, but when I load it onto an Android device, the substack opens briefly and then the app crashes. The code I am using is
Code: Select all
on mouseUp
open stack "Elements of Water"
show stack "Elements of Water"
go to stack "Elements of Water"
end mouseUp
In the IDE I cannot get it to work without using all 3 of the above statements, even though from the documentation it sounds like I shouldn't have to. (Is that correct?) In the standalone version I tried just using the open stack statement, but I still get the same problem.
I know that on Android only one stack can be visible at a time and that the visible stack is the last one opened. What happens when the substack is closed? Will the previous stack become visible again?
Thanks for your help.