facebook

m1Design_resizing error

💡
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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #331665 Reply

    RossL321
    Member

    Hi
    My problem is to do with page transition. I have 2 or three pages that I want to transition to using code such as:

    phoneui.gotoPage('m1-Login', "FADE")

    The pages are default html, as in a splash page transitioning to a login page.
    I get an error in the javasript file for this page trying to use this function: TypeError: Result of expression ‘m1Design._resizing[ba]’ [undefined] is not a function.
    The line that is pointed to looks like this:

    "Detail":{"id":aa,"anchor_id":"#m1-Detail","resize":function(d,e){m1Design._resizing[aa](d,e)}},"Crews":{"id":"Crews","anchor_id":"#m1-Crews","resize":function(d,e){var a;var b={};var k;a=b[X]={w:d,h:e,py:0};try{a=b[W]={w:0,h:0,py:0,p:b[X]};a.w=Math.max(a.p.w,0);a.h=43;a.p.py+=43}catch(l){}try{a=b[Dc]={e:document.getElementById(Dd),w:0,h:0,py:0,p:b[W]};a.e.style.width=59+$;a.e.style.left=Math.max((a.p.w-59)*0.4981,0)+$;a.w=59;a.e.style.height=25+$;a.e.style.top=Math.max(a.p.h-34,0)-a.p.py+$;a.h=25;

    I am using the latest version of MobiOne Studio 2.2.2
    Does anyone have any clues on this?
    RossL

    #331680

    Hi RossL321,

    Thanks for reporting this issue. Could you provide us your project to investigate? If you want to keep data in privacy send us your project via support at genuitec dot com. Use title mobione data from RossL321

    #331723

    Hi RossL,

    phoneui.gotoPage doesn’t work for pages that are form results, I’m not sure whether that’s a problem or expected behavior, I’ve asked to dev team about this and will follow up as soon as I get more information, in the meantime you can add your secondary screen as additional project files (just add mobi file there) and unselect the Form property.

    #331765

    RossL321
    Member

    Hi Octavio
    Thanks for your advice. I unchecked the form option on both pages, unfortunately, I now get a ‘Page not found’ error for the page!
    Have I got the wrong name?
    regards
    Ross

    #331785

    support-michael
    Keymaster

    @RossL321

    In addition to disabling the Form property you should add the 2nd screens .mobi file as an Additional Files property of the main startup screen. To see this option, open your main screen in the Visual Designer. Then in the Outline select the top node. In the Properties look to the very bottom for Additional Files property. Select it to open a dialog to select files such as other .mobi files that are not directly linked by a widget with a GotoScreen action.

    #331798

    RossL321
    Member

    Thanks Wayne, that works a treat now.
    Ross

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: m1Design_resizing error

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