User Tag List

Results 1 to 8 of 8

Thread: How do you disable all flags at one time?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    How do you disable all flags at one time?

    I was wondering what you would put in the expression editor for turning a series of flags OFF. I actually want to turn all 32 of them off with one action, since it is cumbersome and cluttered to have 32 separate actions. With Animations, you can evaluate the animation number with greater, less than, etc. I can't seem to figure out how to do the same thing with flags.

    Any ideas?

  2. #2
    No Products Registered

    Join Date
    Jan 2009
    Location
    Usa
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    just put all of the flags into one group of events and turn them off from there

    when u are done close the group and it wont be cluttered

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    I need to turn multiple flags to an OFF state as an action. Groups won't help me there.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    Run a loop, and in the loop turn flag loopindex("loopname") off. Then all the flags the loop is run for get turned off!

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    Thanks. That just might do it. But can anyone think of a way to do this from the expression editor? I really don't want to resort to a few extra lines of code, since I need to set this sort of thing up alot throughout my code.

  6. #6
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: How do you disable all flags at one time?

    Just call the fastloop you built again.
    Reuse it no need to make a new loop.

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    Quote Originally Posted by Jeff
    Just call the fastloop you built again.
    Reuse it no need to make a new loop.
    I think he means there are numerous different objects which need their flags turning off. In which case personally i would just put all the 'turning off loops' in one group and make one loop for each object. Unless there are loads of them, in which case i'd give them a qualifier and reference the right one with an alterable value.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: How do you disable all flags at one time?

    I think I can get by with the fastloop method. I was just hoping to be able to use a greater/less than/equal type of expression. It would just be easier to integrate that into my existing actions. Like I said, I am able to that with animation indices and was just hoping I could do something similar. Maybe it will be added into a future version of MMF.

    Thanks again,

    Mobichan

Similar Threads

  1. Flags
    By Angelfox in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th January 2009, 04:48 PM
  2. Help with flags
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 19th June 2008, 11:03 AM
  3. Using flags for my UI
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th April 2008, 09:55 PM
  4. Flags
    By konjak in forum Multimedia Fusion 2 - Technical Support
    Replies: 55
    Last Post: 2nd July 2006, 02:53 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
  •