User Tag List

Results 1 to 3 of 3

Thread: MMF2 - Help with IF

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Help with IF

    Here is an example of just not being able to get what I want to work. Perhaps someone can help me.

    I have a combobox with a number of selections.
    I have a counter set to 0 (meaning false)

    Condition would be: Selection changed?

    I the action area I want something like
    If edit-text <> "" then set counter to 1 (meaning true)
    If edit-text is number set counter to 1 (meaning what was typed
    was a number)

    Better would be if I could ckeck if the edit-text is a member of the set of numbers defined within the combo-box.

    In other words I am verifing input values.

    I cannot find a way to do this.

    In the action are there should be a way to do a if statement.

    Can anyone help??

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Help with IF

    Can't you use "Compare two general values" under the special object?

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Help with IF

    I created a fastloop called Verify_Current_Age.

    So I now have to enter actions.

    I need to able in the "action area" to say

    If edit_text of combobox is a number and its in the set of integers (0..150) then return 1 (meaning true)
    else return 0 (meaning false)\

    If 0 return display error message Like Bad Input!!!

    (I use this number in a calculation later so it needs to be correct.)

    Later condition using fastfunction

    Condition: Current_Age_Combobox_Selection_Changed
    Action: Verify_Current_Age

    The combobox does not have a setting that prevent the user from typing something in like "SSS". I want to force them to only
    pick from the drop down list of 0 to 130. That would also solve the problem.

Similar Threads

  1. Replies: 3
    Last Post: 7th January 2013, 12:35 PM
  2. SOLVED: MMf2 Standard to MMf2 Developer Error
    By iamjot in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st January 2011, 06:03 PM
  3. Mmf2 X MMf2 Developer (Talking about flash)
    By PandaExplosion in forum SWF/Flash Export Module Version 2.0
    Replies: 21
    Last Post: 18th December 2010, 01:55 AM
  4. passage d'appli MMF2 anglais à MMF2 français
    By mig3 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th February 2008, 04:51 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
  •