User Tag List

Results 1 to 6 of 6

Thread: Mouse: On button release

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mouse: On button release

    Hi everybody.

    Is there a way to trigger an event NOT on mouse click, but when I release the mouse button?

    Thanks in advance,
    raven

  2. #2
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    scottige's Avatar
    Join Date
    Jul 2006
    Location
    Scotland
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse: On button release

    The way I do that is have a counter starting at 0.
    Have an event "Repeat when mouse pressed, set counter to 1"

    Then have an event, repeat when mouse button is not pressed and counter = 1 then *your event here* or a bit tidier is.

    repeat when mouse button is not pressed and counter = 1 then set counter to 2.

    Then you can have if counter = 2 then set counter to 0 followed by your events.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse: On button release

    Nice work-around - thanks!
    A pity there is no real condition for this like 'releasing left/right mouse button'.

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    scottige's Avatar
    Join Date
    Jul 2006
    Location
    Scotland
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse: On button release

    I'm sure for an extension programmer, it wouldn't be hard to embed that in an extension.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse: On button release

    And I'm sure for Clickteam it would be a piece of cake to implement it into MMF

  6. #6
    No Products Registered

    Join Date
    Jun 2010
    Location
    Sutton, Surrey, UK
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse: On button release

    It is done in 1 command-

    -On One Action When Event Loops
    -(NEGATE)Repeat while mouseclick is down
    Actions go here xD


Similar Threads

  1. On Release Mouse Command?
    By TokalaFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd March 2012, 12:17 PM
  2. Mouse release
    By TheOriginator in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th August 2011, 09:03 PM
  3. That middle mouse button
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 9th August 2010, 10:55 PM
  4. Middle mouse button
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 8th March 2010, 08:47 AM
  5. another way to simulate mouse button up?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th October 2008, 02:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •