facebook

phoneui.gotoPage doesn’t work? : ANS

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

    TNADEV
    Member

    Hi, I’m sure this is a simple question but i cant seem to find the answer….

    Basically i want to build a multi-screen program without having any physical linking buttons on the stage.

    e.g I want a login page that when its validated goes to an Admin page, using the code below

    phoneui.gotoPage('m1-Admin',phoneui.transitions.FLIP_LEFT);

    if i dump a button on the stage physically linking to the Admin.mobi screen it works but if i don’t have that link the code cant find the screen?

    How can i get round this?

    Thanks

    #333303 Reply

    Hi,

    You should add your secondary mobi files as additional project file. See image:

    #333358 Reply

    TNADEV
    Member

    Perfect thanks – easy when you know how!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: phoneui.gotoPage doesn’t work? : ANS

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