User Tag List

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 42

Thread: Why does my flash build INI realted stuff not work?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Why does my flash build INI realted stuff not work?

    Hi,

    I'm making a game which saves player accomplishments. I'm using the INI object to do so.

    It works great when built for IOS and PC, but when I make a Flash build and run it in my browser, nothing is saved to or loads from the INI.

    What am I doing wrong? Does the INI file require a certian name? There's no path...

    suggestions?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Give it a name anyname.ini (change anyname with anything you want, I think it works with any extension different than ini but not 100% sure) don't provide any path and the "Create INI file in Application Data folder" must be checked.

    Make a new MMF file just to test if it is or it is not working and try to isolate the problem.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'm using gamedata.ini and I do have "Create INI file in Application Data folder" checked...it Works in all build types EXCEPT for when I make and run the Flash build.

    it is necessary to host the html and flash files online and run from the net for the ini to work in the Flash build?

  4. #4
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by BrashMonkey View Post
    it is necessary to host the html and flash files online and run from the net for the ini to work in the Flash build?
    No, it also works on localhost. I don't check "Create INI file in Application Data folder" and have no problems.

    EDIT: Thinking about it, that property is probably ignored when using the Flash runtime.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is the Flash ini not saving/loading or are you just confused, because you can't find the file? It's created in Adobes very own format as a temporary file.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How can I be confused? Either the game is showing the acheivements or it is not... it is either not saving, or not loading or both. It works fine in any other build type I've tried.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'm not looking for the file, I'm palying the game and observing that clearly it is not sucessfully saving or retrieving ANY information.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Can you try with a simple blank application, and one value in the INI?

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Francois,

    It's the same App which I just sent you the MFA file for in a private message. Could you try building and running it for flash and see if if its working... if there's no music at the start of the game and at all frames then the INI is not sucessfully working.

    No matter what we hav a situation where it works fine on PC, on run frame, on IOS build, but NOT in flash... so ev en if I figure out whats causing the issue for Flash, its still compensating for the fact that there's a diference with how INI works in Flash... No one knows of any diference?

  10. #10
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    INI data under the Flash runtime is saved in a Local shared object (aka LSO). I know that it is possible for a user to disable the use of LSO per application/website. You should check that your app is allowed to save data via the Global Storage Settings panel of the online Settings Manager (right-click on the app). More information about LSO here: http://en.wikipedia.org/wiki/Local_shared_object

Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. [BUG] Build 257.7 - My inertia scrolling doesn't work on iOS.
    By Popcorn in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2013, 12:03 AM
  2. [BUG] MMF2 doesn't build anything, crashes stuff
    By AdamDobay in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 18th September 2011, 09:38 PM
  3. MMF2 Build #249 not work
    By MaXBeat in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th May 2009, 12:24 PM
  4. Animation Events Don't Work Right! [Build: R241]
    By BrandonC in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th August 2006, 07:46 AM

Posting Permissions

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