User Tag List

Results 1 to 4 of 4

Thread: Anyone have a expression editor syntax guide?

  1. #1
    No Products Registered

    Join Date
    Feb 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone have a expression editor syntax guide?

    I need to know what syntax the expression editor uses.

    I keep getting stuck when I have to do compound expressions

    I don't know what language I need to reference to make the

    expressions work.

    Any help on this would be greatly appreciated.

    Thanks.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Anyone have a expression editor syntax guide?

    It uses normal systax. The easiest way to get data from an object is to click on the button and choose in the menu. Be careful to counter the number of parenthesis open and closed : they have to match.

  3. #3
    No Products Registered

    Join Date
    Feb 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anyone have a expression editor syntax guide?

    Thanks for responding.

    I don't know what language the "normal" syntax is in.

    When I use the object reference part of the expression editor

    I get the feeling it's similar to php - but I can't tell.

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anyone have a expression editor syntax guide?

    It's a little like php, but you don't put variables inside strings (only php does this)

    A little guide:
    0 - Number
    "string" - String
    Abc() - function that returns a number
    Abc$() - function that returns a string
    Val("string") - convert a string to a number e.g. "0" becomes 0
    Str$(0) - convert a number to a string (e.g. 0 becomes "0")
    X("Object Name") - Retrieve a value from an object, in this case the X position.
    "hello" + " world" - join strings
    "hello " + edittext$("Edit Box") - join string to the text from an edit box


    Anything else?

Similar Threads

  1. Expression Editor Syntax - Newbie question
    By JoergB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th November 2011, 06:06 AM
  2. expression syntax question
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th June 2008, 02:55 AM
  3. BUG! Expression reporting bogus syntax error!!!
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 30th July 2006, 05:06 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
  •