User Tag List

Results 1 to 3 of 3

Thread: Changing strings

  1. #1
    Clicker Fusion 2.5
    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
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing strings

    Ok this is extremely hard to pu into words but i will try my best.

    My application reads the contents of a directory and lists all the folders in that directory in a list object. (with me so far?) I have a seperate text file within my applications directory which holds information about the previously mentioned folders. Each directory name contains a 9 character string which is used to identify it. What i want to do is replace that 9 character is with something slightly more meaningful.

    Example time

    List Object on frame displays the following:
    [ULES00675]
    [ULES00677]
    [ULUS00998]
    [ULUS44563]
    [ULUS45663]

    The external text file contains the following info:
    ULES00675, Folder 1
    ULES00677, Folder 2
    ULUS00998, Folder 3
    ULUS44563, Folder 4
    ULUS45663, Folder 5

    The first part of the text file denotes the folder ID whilst the second denotes the Name.

    I cannot edit the folder names due to the naming convention in place nor can the information included in the text file be built into the application as this file will be constantly updated.

    At the moment the file is stored as a .txt file but i am more than willing to convert it to another format if needs be.

    BTW all these changes have to be made at the start of the frame.

  2. #2
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing strings

    Perhaps an Ini?

    [SomeGroup]
    ULUS00998 = Folder 1

    etc.

  3. #3
    Clicker Fusion 2.5
    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
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing strings

    I managed to get half way there through the use of ini files and text files. i'm sure there is an easier way through the use of the text file alone maybe?? but for now i'm sticking with it!!

Similar Threads

  1. Strings: Resizing border when changing font size
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 30th April 2012, 03:24 AM
  2. [BUG]Changing Strings at Runtime
    By Eliyahu in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 13th August 2010, 09:14 PM
  3. Scan Global Strings and Other strings
    By Ausomeman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th May 2010, 04:01 PM
  4. Using Global Strings embedded in larger strings
    By Mudstick in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th May 2008, 01:23 PM
  5. Help me with strings! =)
    By gum in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th November 2006, 06:33 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
  •