User Tag List

Results 1 to 3 of 3

Thread: Save / Load application position + subapps?

  1. #1
    No Products Registered

    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Save / Load application position + subapps?

    Hiya. I'm using MMF build 249 with HWA. I am unsure if this is a bug or not. Basically, I have a popup subapp in my main frame which loads another frame from the application. When the user selects the close button, an .mfs is saved.

    When loading the application again, on Start of Frame (or really, any point it seems), using the action "Load Application Position" causes edrt to get stuck in an endless loop. The loop first (usually, but not always) displays a msgbox about it being the wrong version, then it seems like it closes the popup, and attempts to load again. In the case where the version is not incompatible, the frame position simply seems to restart over and over.

    Though now that I think about it, the endless loop probably has to do with where I'm resetting the frame position, is there a way to load at the start of frame whereby after a single load, the application's state is such that it won't endlessly loop ?

    I'm probably not using this feature for its intended purpose, but I wished to see if it would save window position and size, etc. (If there's no easy solution for this, I'll just store the size/position info in an INI)

    Thanks

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Save / Load application position + subapps?

    I think that there's an action - "Game has just been loaded" or something along those lines - that you may be able to use to prevent the infinite loop in some way (though I admit I'm guessing here, not having really used the automatic save/load to any great extent).

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Save / Load application position + subapps?

    You could also try to extend your Condition with :

    - only one action when event loops

    you can find it under:
    New Condition -> Special-Object-> Limit Conditions-> only one action when event loops.

    Be carefull that you insert it into same condition-field that triggers the loop (as you know, you can have more than one conditions in an event)

    This should also limit your app to do the action just one time instead of getting into an infinite loop.

    But perhaps DavidN' s idea is easier or more stable to use, or i missunderstood what you wanted to achieve.

    Greets

    jahkri

Similar Threads

  1. Save and Load Frame Position?
    By Wiiman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th January 2011, 01:03 AM
  2. can INI+ be global between subapps sans save/load
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th October 2009, 01:29 AM
  3. SAVE AND LOAD position object
    By daniele in forum Widgets
    Replies: 1
    Last Post: 4th August 2009, 08:15 PM
  4. Save / Load Frame Position
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st July 2009, 12:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •