User Tag List

Results 1 to 5 of 5

Thread: Large text files

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    TheOriginator's Avatar
    Join Date
    Jul 2011
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Large text files

    Hi,

    I am creating a Tarot reading program and want to be able to pull up a paragraph (Interpretation) of text when a card is clicked on.
    there would be 78 paragraphs of text (for the 78 cards) x 3 (Past, Present, Future) and I would want to be able to pull up a specific paragraph associated with that card.

    What would be the best way to approach this? I'm guessing an .ini or array?
    I have never used these and dont know really where to start.
    Any help would be appreciated.

  2. #2
    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,840
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Large text files

    Can you not use the RTF object off screen and retrieve the info into a string?

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

  3. #3
    mojofltr
    Guest

    Re: Large text files

    I'm not sure if this will be helpful:

    http://mfa.aquadasoft.com/upload/1311866383-Tarot_-_The_Originator.mfa

    The example in the first frame is pretty simple. However, it will be tedious to enter each paragraph into the string objects.

    The second example is much less tedious, but uses the String Tokenizer object:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=55073

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Large text files

    I was thinking of working on a tarot program myself. Not sure when I'll get the chance to. I got the idea for how to store, modify, and retrieve the data by looking at the method that Orphalese Tarot (created in .NET) uses.

    The cards data is stored in XML files. There are two extensions that handle XML data: XML Parser and EasyXML Object. Both can be found at the Fusion Wiki Extension List (sidebar on your right under "Community Links").

    I have not messed around with the EasyXML Object. I only just installed it about 10 minutes ago. I did a quick search to see if there were other XML objects. Initially I had planned on using the XML Parser object.

    To format the data, now this is just off the top of my head and I have not tried it out, but you could pull the specific data from the specific XML node and then format it in a Rich Text object.

    Hope this helps.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    TheOriginator's Avatar
    Join Date
    Jul 2011
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Large text files

    Thank you mojo and others for your advice,
    I'll look into those methods
    Cheers

Similar Threads

  1. MOO Sock + V. Large Files
    By GundarK in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th July 2019, 07:12 AM
  2. Edit Box as a large text field? Also, Multiline bug.
    By ratty in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th November 2012, 04:36 PM
  3. install creater large files
    By TrashcanMan in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 9th February 2011, 05:07 AM
  4. Large Text Message crash
    By MechatheSlag in forum Lacewing
    Replies: 2
    Last Post: 21st September 2008, 06:52 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
  •