User Tag List

Results 1 to 8 of 8

Thread: Convert Value > String ???

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Convert Value > String ???

    Hello !

    Is there a way to convert a value (number) into a string ?

    I want to set values into a textfield in a seperate dialogbox.

    The Expression-Editor does not accept values(numbers) in the dialogbox txt-object.

    thank you !

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Convert Value > String ???

    Yes there is. In the Expression Editor, where you want the string number to appear, click Retrieve Date From An Object, this pulls up the list of all the items in the frame. The very first item should be the Special icon. Right click that and select Conversion > Convert Number To String. The place where your number should be will be automatically highlighted. Click Retrieve Date From An Object again and select your number (counter, Global Value, etc), and this should work just fine.
    KnightTrek Productions
    http://www.knighttrek.com

  3. #3
    Clicker

    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,731
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Convert Value > String ???

    I have an example converting strings to value, values to string, on my website. You may also want to check out the MMF Technical manual on the Projects page. It includes the example formula, plus a lot more.

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

  4. #4
    No Products Registered

    Join Date
    Oct 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Convert Value > String ???

    thank you very much !

    wow there are many useful actions by clicking on the special object in case of retrieving data from an object

    everything works fine thank you paul and nivram!

    have a nice time

    greetings






  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Convert Value > String ???

    And if you want to do it quickly, just type them:

    Str$(42) = "42"
    Val("42") = 42

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Convert Value > String ???

    Hi, Akuma.

    I recommend nivram's website as well. There are many examples (of course, there are some advanced ones and hard to understand if you're a newbie).

    But most of the examples are commented and show what MMF2 can do.
    Jut check it out. You won't regret.

    Maybe soon enough you'll be creating some truly classic games like Destruction Carnival (which I love btw).

    Good luck.

    Regards,

    Andre Guerreiro (byo)

  7. #7
    No Products Registered

    Join Date
    Nov 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where do you find it?

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,518
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Nivram's excellent example site is listed at http://www.clickteam.com/tutorials and is available from http://www.castles-of-britain.com/mmf2examples.htm
    .:::.Joshtek.:::.

Similar Threads

  1. Get size in pixel of a string (or convert string length to pixel)
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st March 2013, 07:30 PM
  2. How to convert the Date/Time to a string?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 8th June 2010, 04:37 PM
  3. Convert Bmp. and Gif to be used in MMF2
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 1st January 2009, 06:42 PM
  4. Possible to convert to mac
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th October 2008, 03:05 AM
  5. Convert picture to string
    By YAS in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th September 2006, 06:19 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
  •