Unfortunately not, <g:background> doesn't support events. <g:image> does support events, but it will only be of use if you don't have a transparent background.
Sorry, I have proposed this solution previously, there's even some source code on here somewhere.
You need to ensure that the region below the clickable area is partially opaque though, ~90% or less off the top of my head. If it's completely transparent the mouse events don't fire.
mouseover event when using addImageObject
Kamii47
TomBB
You need to ensure that the region below the clickable area is partially opaque though, ~90% or less off the top of my head. If it's completely transparent the mouse events don't fire.
Bill Reiss
Kind of long-winded, but it works and I'm still able to display part-transparent images beneath it.
Batuhan