User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29

Thread: Arrays in Flash Games

  1. #21
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    OldSchool80s's Avatar
    Join Date
    Dec 2012
    Location
    USA
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    OK so
    - I made a simple MMF2 Flash Application which writes 9 to an Array and saves it as TestArray.arr
    - I then searches for TestArray.arr in Window
    - Windows finda a file "TestArray.arr.sol" in the Applications folder
    - However if i manually open the Application folder, no such file exists

    I allways thought Array files had the .arr extencion

    What is a .sol file?
    Is the .sol file my Array file?
    Why is the .sol file not visible to me?
    I can only think that the system is hiding a file with that extension type.

    Do you have the folder settings to show hidden files?

  2. #22
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by OldSchool80s View Post
    I can only think that the system is hiding a file with that extension type.

    Do you have the folder settings to show hidden files?
    Yes, it is set to "Show hidden files, folders and drives"

  3. #23
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    OldSchool80s's Avatar
    Join Date
    Dec 2012
    Location
    USA
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Only thing I can think is that you are looking in a place where you think the file is being saved, but it's being saved somewhere else. ???

  4. #24
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "SOL files are Adobe Flash Player Shared Objects which are used to read and store limited user data and settings on a computer or server. They offer real time sharing and work in a similar fashion to cookies."

    It seems when a MMF2 Flash App saves an Array, it saves the Array as a .sol file instead of an .arr file.
    And i think this is the core of the problem...

    ...An Array cannot LOAD a .sol file ( as far as i know )...

    ...
    Any workaround for this?
    Maybe its possible to force the Array to save as a .arr file?
    Maybe there is some way the Array is able to read .sol files?
    Maybe there is some way MMF2 can read .sol files?
    A method for converting ( preferably not external ) .sol files to .arr files?

    I would very much like to be able to save and load Arrays in MMF2 Flash.

  5. #25
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Go into the Control Panel > Folder Options > View > Check "Show hidden files, folders, drives.

    Flash Local Shared Object File
    Contains user data and settings stored by Flash Player 6 and later ; similar to a cookie saved from a Web page, but is used specifically by Flash Player. SOL files can be opened and edited with SolVE: the Local Shared Object Viewer/Editor, or by another SOL file editor.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  6. #26
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    So the answer is that it is not possible to use an array for saving in flash?

  7. #27
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Outcast. In my experience and teachings, no it's not. I have ask anyone to provide an example file showing arrays saving and loading a player's x,y position in flash.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #28
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by nivram View Post
    Outcast. In my experience and teachings, no it's not. I have ask anyone to provide an example file showing arrays saving and loading a player's x,y position in flash.

    Marv
    Thanks Nivram, seems like its not possible, but its strange that some say it is :S. If there is no example of it then it seems very doubtful it actually works.

  9. #29
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was not aware that Arrays in Flash builds were saved as .sol files.

    Its seems impossible to load Array data from a MMF2 Flash application, unless
    ( A ) MMF2 Flash is able to save Array files as a .arr
    ( B ) MMF2 Flash is able to read data of a .sol file

    ...
    It is however quite easy to tread an INI file as an array, by treating the Groups as the X Index and the Items as the Y index

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Are Mmf Flash games slower then native Flash?
    By Outcast in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 23rd October 2011, 02:31 PM
  2. Where should flash games save to?
    By Skeets in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 25th July 2011, 05:08 PM
  3. hyperlinks in Flash games
    By JollyPanda in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st October 2010, 04:55 PM
  4. Bug In Flash Games
    By BHGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 9th March 2010, 12:07 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
  •