facebook

How do you combine multiple forms/layers? (.mobi)

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #334561 Reply

    Cool_Guy_08
    Member

    I’m having problems with making multi-layered apps. What I have done so far is saving multiple layers as individual .mobi files and linked them through buttons with “Go To screen”
    However when I’m trying to use my app in preview, the transition works, but the code of the folowing layers is not there.
    I’m guessing that through the “go to screen” option you don’t have access to the code of that .mobi but I don’t really know how implement codes from other forms.
    How can I implement the code of the second layer into the first one so that it works out when starting with the first layer?

    (I’m quite new to this program and coding with Java in general so I apologize if that question is kind of stupid)

    #334564

    Hi Cool_Guy_08,

    You can test your screens one by one and you’ll get many <screen>_www folder, but the only folder that we suggest you to keep is the <mainApp>_www folder, where you should put your code in <mainApp>_custom.js file. So, if you put some code in <secondary_screen>_www/<secondary_screen>_custom.js file, when you load your main app, this won’t have access to the code you added in <secondary_screen>_custom.js

    I hope this make sense.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How do you combine multiple forms/layers? (.mobi)

You must be logged in to post in the forum log in