User Tag List

Results 1 to 5 of 5

Thread: Text arrays

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Location
    USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text arrays

    Im experimenting with using a string object to display the contents of a text array. Is there a way to format the text as it is being entered into the array object so that the sentences appear in the string object as in the following example ...
    [color:#3366FF]Sentence 1.
    Sentence 2.
    Sentence 3.[/color]
    rather than ...
    [color:#3366FF]Sentence 1. Sentence 2. Sentence 3.[/color]

    I realize that this can be done in other ways, with other objects (writing and formatting it as a paragraph in the string object), but wondered if the text can be inserted into the array object this way.

    Oh ... I have been displaying the text using the Alterable string of the string object.


  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text arrays

    I think that if you actually insert the data with "Sentence 1." + newline$ + "Sentence 2." + newline$ + "Sentence 3." into the array object, it'll come out formatted like that in the string.

  3. #3
    No Products Registered

    Join Date
    Feb 2007
    Location
    USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text arrays

    David ... Thank you - that works fine. Apparently Im missing something inthe documentation - I had no idea "newline" existed. Are there more commands like newline shown somewhere within the TGF2 documentation?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text arrays

    I'm not sure if there's a list in the Help, but if you go into "Retrieve data from an object" and look under the System object, I think most of the rarer ones are there.

  5. #5
    No Products Registered

    Join Date
    Feb 2007
    Location
    USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Text arrays

    Thanks again David ... it is there with others.

Similar Threads

  1. problem when saving strings from arrays into one text file.
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 23rd July 2013, 11:06 PM
  2. Arrays?
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd April 2010, 02:49 PM
  3. Arrays
    By Jafa in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 22nd August 2009, 11:28 PM
  4. Arrays
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 20th August 2007, 03:58 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
  •