Results 1 to 6 of 6

Thread: Format Object

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,924

    Post Format Object

    The Format Object allows you to define data formats and then use them to save and load data.

    The latest version (even beta versions) can always be downloaded here: http://www.LB-Stuff.com/MMF2/Extensi...rmatObject.zip

    The version Release 1 is attached to this post, check later posts for more recent release versions.

    Quote Originally Posted by Format Object Help File
    In the past, in order to use a certain format at all, either an extension had to be written for it or binary array objects had to be used with a headache of code. I got tired of there not being a better way to support various file formats with ease in MMF2 so I made Format Object. It doesn't work too well for text-based formats such as JSON, XML, HTML, INI, etc, but it works great for uncompressed binary formats. To use it you actually define the format yourself within the object, and then use that format you just defined to save and load data.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on
    Gustav's Avatar
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,017
    Just noticed an error. If you insert the condition On error Fusion (281.2) crashs.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,924
    Ah, this happens in MMF2.0 as well and is caused by a really really old EDIF bug. I don't have time to recompile the extension at the moment, but I did manage to use a text editor to fix the MFX file by hand. See if this version works:
    https://www.dropbox.com/s/p26ssavxijyr5rp/FormatObject.mfx

    I'll do a new release as soon as I can.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on
    Gustav's Avatar
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,017
    Thank you, it's working now. You just did a single change in a text editor?

    The file is nearly 4 times larger than the file installed from Extension Manager. That's odd.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,924
    Ah, the version I modified must have been a debug version. All I did was edit a part of the internal JSON file to replace some erroneous text with spaces so the file would have the same size and the JSON would parse correctly.

    I've updated the link in the first post, let me know if it works correctly! The extension version is now at Release 2. I am working on a Unicode port but it will be quite difficult since I didn't originally know how to code for Unicode when writing this extension 2 years ago, there is a lot of code to fix.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on
    Gustav's Avatar
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,017
    No problem and thank you. It seems to work now.

Similar Threads

  1. Ini object won't save the UTF8 format
    By ASD in forum Unicode Export Module Version 2.0
    Replies: 4
    Last Post: 22nd April 2013, 07:45 PM
  2. Format Object - Beta
    By LB in forum Extension Development
    Replies: 16
    Last Post: 3rd September 2012, 07:35 PM
  3. ritch edit object, is possibile to export in excell format?
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st February 2012, 11:42 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
  •