User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 34

Thread: Ini?

  1. #1
    Forum Moderator Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ini?

    If we can't save/load to/from file, how can we use the INI object that has been ported to flash?
    -Mokhtar M. Khorshid

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    The data is saved in a temporary file (I'm not sure where, but I think it might actually be a cookie) on the user's computer.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    So how do you use that temporary file exactly?
    -Mokhtar M. Khorshid

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Ini?

    Just use the INI as you would do in C++. The file is not temporary, it is saved between sessions.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    I have a feeling we are talking about different things. That or I am missing something obvious.

    I just dropped an INI object in the frame and tried to set and get values. They do not work. Do I need to specify a special filename/path for this to work?
    -Mokhtar M. Khorshid

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    Stoke On Trent, UK
    Posts
    139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    I have the same problem.
    Any chance of someone making a basic ini in flash tutorial?

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    I attached an example file.

    Mokhtar - What you did seems to work for me, but you must compile it to a swf file and run it in a browser.
    Attached files Attached files

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    Stoke On Trent, UK
    Posts
    139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    Thanks netninja,

    Where is the ini data stored?

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    I don't actually know. I just made this example when flash first came out to see how the INI worked. But as you can see, it does save it somewhere. Someone mentioned that it disappears when you delete your browser cache, but I haven't tried that yet.

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini?

    I searched for my own test and found it here:

    C:\Documents and Settings\Username\Application Data\Macromedia\Flash Player\#SharedObjects\A676F9PT\#localWithNet\Docum ents and Settings\Username\My Documents\My Games\MMF2\INItest.swf\SearchForThisPlease.ini.sol


    So, apparently it's going to be different every time you make and use a flash game/app using the ini file.
    Working as fast as I can on Fusion 3

Page 1 of 4 1 2 3 ... LastLast

Posting Permissions

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