User Tag List

Results 1 to 5 of 5

Thread: Question regarding the writing of a condition...

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question regarding the writing of a condition...

    Hey folks!

    I was wondering if there was some way I could write a condition such that one component was required, but two or more were logical OR conditions. As an example, consider this condition with three elements:

    1.) Global Variable=X (always condition)

    2.) Button is clicked
    OR (logical)
    3.) Text is clicked


    As it is, I only know how to author a condition such that all elements in the condition are part of an OR (logical) statement, or all elements in the condition must be met--but not a mixture of both.

    Is there a way to author a condition so that they can be mixed?

    Thank you very much, in advance!


    Most appreciatively...

    RGBreality

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding the writing of a condition...

    No, but you can just do

    1.) Global Variable=X (always condition)
    2.) Button is clicked
    OR (logical)
    1.) Global Variable=X (always condition)
    3.) Text is clicked

    which accomplishes the same thing, if I understand you right.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding the writing of a condition...

    Hey, Jabob! How are you? What a bionically-fast reply! That did the trick! (I love learning something new about this kick-ass product)

    Thank you yet again, Jacob!


    Most appreciatively...

    RGBreality

  4. #4
    No Products Registered

    Join Date
    Jul 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding the writing of a condition...

    Oh yes! I know how to do that! Make a condition, right click on the condition box to the left and click "Insert" and then it will be two conditions in one! I hope I wasn't too late to answer!

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question regarding the writing of a condition...

    Quote Originally Posted by Jacob
    1.) Global Variable=X (always condition)
    2.) Button is clicked
    OR (logical)
    1.) Global Variable=X (always condition)
    3.) Text is clicked
    You should always have immediate conditions above all other ones. I don't think I've ever seen this break the event, but it makes your code clearer for others and is just good practice.

    This should be:

    1.) Button is clicked
    2.) Global Variable=X (always condition)
    OR (logical)
    1.) Text is clicked
    2.) Global Variable=X (always condition)



Similar Threads

  1. question about writing strings
    By Gustavo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th January 2012, 04:47 PM
  2. EVERY condition question
    By felinex in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th April 2008, 02:37 AM
  3. [Question] ActiveX > Action/Condition/Expr Output
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th December 2006, 09:16 AM
  4. Writing to XMLs?
    By Durnus in forum Extension Development
    Replies: 5
    Last Post: 10th September 2006, 04:37 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
  •