User Tag List

Results 1 to 6 of 6

Thread: mouse over events

  1. #1
    No Products Registered

    Join Date
    Feb 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mouse over events

    I drew a map and have active pictures on top of each country on the map that I want to appear when the mouse hovers over them and disappear when the mouse moves away.

    i can make the pictures appear but not disappear when the mouse leave the area...any help please.

  2. #2
    No Products Registered

    Join Date
    Mar 2009
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse over events

    There is an event called "Mouse pointer is over an object" or something, use this.

    Mouse Pointer is over Object 1
    - Make Object 1 reappear

    Mouse Pointer is over Object 2
    - Make object 2 reappear

    Mouse Pointer is over Object 3
    - Make object 3 reappear


    To make them disappear, create a new event with all the "Mouse pointer is over...X..." and then right click on each and Negate them, so it will look like this:
    [color:#FF0000]X[/color]Mouse Pointer is over Object A
    [color:#FF0000]X[/color]Mouse Pointer is over Object B
    [color:#FF0000]X[/color]Mouse Pointer is over Object C
    - Make Object 1 Invisible
    - Make Object 2 Invisible
    - Make Object 3 Invisible


  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    California, USA
    Posts
    1,241
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: mouse over events

    You could also set all other map object to Invisible in the same Mouse Over event. (kind of brut force)

    Mouse over MapOb1
    - Set MouseOb1 to Visible
    - Set MouseOb2 to Invisible
    - Set MouseOb3 to Invisible
    - Set MouseOb4 to Invisible

    Mouse over MapOb2
    - Set MouseOb1 to Invisible
    - Set MouseOb2 to Visible
    - Set MouseOb3 to Invisible
    - Set MouseOb4 to Invisible
    DT
    Special Projects Director

  4. #4
    No Products Registered

    Join Date
    Mar 2009
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse over events

    Or my preferred way, have the first event an "Always" which sets all to invisible, and the below events individually toggle visibility when the mouse goes over a map element. For increased simplicity, pack everything into a qualifier!

    = Always
    - Set Country1 to Invisible
    - Set Country2 to invisible
    etc...

    = On Mouse over Country1
    - Set Country1 to Visible

    etc...

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,970
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse over events

    Only problem with Always is that it's constantly running over and over. For most things that's not an issue for performance, but I tend to avoid using Always unless necessary.

  6. #6
    Clicker Multimedia Fusion 2 Developer

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

    Re: mouse over events

    Assuming there's only one of each object, the best is probably:

    Mouse Pointer is over Object 1
    +Only one action when event loops
    - Make Object 1 reappear

    [color:#FF0000]X[/color]Mouse Pointer is over Object 1
    +Only one action when event loops
    - Make Object 1 disappear

    ...repeat for other objects...

    This way you don't constantly hide/show the objects, which I'm assuming would cause them to be redrawn every frame.

Similar Threads

  1. Performance of behavior events vs frame events
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th July 2013, 05:24 AM
  2. Question: Efficient handling of mouse events for a 'fake' multi-touch
    By ardo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th February 2012, 01:02 PM
  3. Mouse Events being ignored
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 20th May 2008, 08:56 PM
  4. Mouse click events runs faster when mouse moves
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd February 2007, 02:54 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
  •