User Tag List

Results 1 to 2 of 2

Thread: The difference between text in expression editor and text in strings?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLC
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Jul 2008
    Location
    The U of K.
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The difference between text in expression editor and text in strings?

    It's a poorly worded title, so I'll elaborate here.

    I'm using the Character Image Object. I'm trying to make an editor that will grab some text from an editbox - the text has some formatting expressions, like Newline$ and [veralign=bottom]. Here's my problem. If I input the text from the editbox straight into the Expression Editor the formatting works fine, but if I try and use this at runtime with anything else - string, editbox, array etc - the formatting expressions become 'text', or strings and instead of:

    Hi Clickteam forums!
    How are you?


    I get...

    "Hi Clickteam forums!"+Newline$+"How are you?"

    Is there any way to perform this at runtime? There is a huge amount of dialogue in my game and if I can't make an editor it will be almost unworkable. Why does MMF2 do this? Is there any way I can input something like Newline$ without it becoming a String?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,344
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    When MMF reads the string, editbox etc, the content will be a string, so it actually retrieves "newline$", not newline$. You can go around this by replacing "newline$" with newline$. You can replace strings using String Parser 2 and its Substrings / replace substrings function.

Similar Threads

  1. bold text in expression editor
    By Banduck in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd June 2015, 04:06 PM
  2. Expression Editor Text formatting/new line command
    By at_da in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th June 2014, 10:04 AM
  3. Strings Limitation on Expression Editor
    By byo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st January 2008, 09:30 PM
  4. Concatenate Strings on Expression Editor
    By haora in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd November 2006, 11:04 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
  •