mouse over problem :-)
March 10, 2017 12:00 AM
Hi all,
i wanted to make a mouse over image effect. That means i have two pictures over each other.
And i made it with the actions "on mouse over" show and "on mouse exit" hide but it doesnt work correct.
when i go over with the mouse the pictures begin to shutter.
Has anyone an idea :-) or is there a possibilty with java
nice greetings
Discussion (3)
This can be caused by several things. To get actions working properly when using an image as button can be tricky. For sure the easiest way is using a transparant button with the actions showing / hiding the respective images on enter/exit. When you really insist on using the image as button ( i can think of scenarios where that would be preferred ) you can do that by using the change content action.
- Add both images to the title. Hide the over one.
- Add 2 actions to the image that needs to be the button
- Action1: Mouse Enter -> Change Contents
Target: image1
Resource:image2.png
- Action2:Mouse Exit -> Change Contents
Target:image1
Resource:image1.png
This will work without stuttering.
What type of images do you use? Do you only show / hide one of the images? Try to hide / show the other one as well. Or use a button that includes an Over-state.
Tim
Hey guys, thx for your help :-) it works with the transparent button! made my day :-)
Discussions have been disabled for this post