[SOLVED] Imagebutton "flashing" on hover...
Posted: Sun Jul 17, 2016 1:14 pm
Hi,
I've tried two different approaches with imagebuttons.
in the first one I've created a "fixed position" imagebutton (both idle and hover), meaning that I've just created full screen .PNGs to avoid positioning them:
"idle" is a landmark;
"hover" is the landmark + the location name;
They perfectly work.
Then I've tried a different approach for the sake of avoiding to create those images for every single location and to gain more flexibility.
This time I've just created the landmark and the location name separately and then I've declared them like this:
and this...partially works, meaning that when I roll over the button, sometimes it's like "flashing" and sometimes it doesn't even switch to its hover status.
What can be the reason for this?
PS
already checked the FocusMask True/None, it doesn't seem to affect it in anyway...
Thanks...
I've tried two different approaches with imagebuttons.
in the first one I've created a "fixed position" imagebutton (both idle and hover), meaning that I've just created full screen .PNGs to avoid positioning them:
"idle" is a landmark;
"hover" is the landmark + the location name;
They perfectly work.
Then I've tried a different approach for the sake of avoiding to create those images for every single location and to gain more flexibility.
This time I've just created the landmark and the location name separately and then I've declared them like this:
Code: Select all
image shop_idle = "images/button_idle.png"
image shop_hover = LiveComposite((0, 0),(0, 0), "images/button_hover.png", (-10, 50), "images/shop.png")
What can be the reason for this?
PS
already checked the FocusMask True/None, it doesn't seem to affect it in anyway...
Thanks...