User Tag List

Results 1 to 4 of 4

Thread: MMF2Dev problem loading from disc

  1. #1
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF2Dev problem loading from disc

    Hello,

    My App can not load files from file.. the case is:

    I'm using a List and I'm trying to load a text file from AppData folder, using File object to find AppData folder.

    It's work on first frame of the app, but on title screen of my game its not working with same way.

    I'm using Windows Server 2008 logged as Admin, using MMF2 Dev

    Thanks

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: MMF2Dev problem loading from disc

    If you are using the file object be sure to check for errors and clear the errors. If you encounter an error the file object won't do anything until you clear it.

    There is no reason your idea won't work so without some more info its hard to tell whats wrong.

  3. #3
    No Products Registered

    Join Date
    May 2009
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2Dev problem loading from disc

    Hi

    After put a timer to create a little delay on start frame(when file is loaded) it's look that is working fine.

    thanks

  4. #4
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2Dev problem loading from disc

    Sometimes objects need at least 1 internal loop of MMF2 (thats one time going trough all events from top to bottom) to pass to fully work.

    The best way here is to have a global value for loading. Then code your events, instead of trigger them on a button click or start of frame event you do something like this:

    "Loading" = 2
    - do things
    "Loading" = 1
    - do things - at the and set "Loading" = 2
    "Loading" = 0
    - do things - at the and set "Loading" = 1

    Just make sure that the order of events is from the last step to the first step.

    So in the first internal loop only the last condition "Loading" = 0 will be true, in fact you set "Loading" = 1 which would meand if the order would be 0,1,2 it would execute the event in the same loop. This way you make sure that MMF2 has time to draw and updates the frame and properly load all things.


Similar Threads

  1. Loading FLV from local disc
    By kikiriki in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 8th November 2012, 08:20 PM
  2. Problem loading NVO XML file
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd June 2012, 06:55 AM
  3. Concentration from Disc 2 Background Sound problem
    By ttsplice in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th September 2010, 06:43 PM
  4. problem with run MMF2dev on win 7
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 6th July 2010, 10:31 PM
  5. Sub-app extension-loading problem
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th December 2008, 07:38 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
  •