I have drawn an mage on the canvas using drawImage() and have set its visibility to false and i want it to be visible on click and mouseover. How do i do ? Thanks
Here's what i've written so far, but this doesn't work of course
$('#scene').drawImage({
source:'files/gp/js/bigview/avg/aileav.png',
name:'aileavg',
x:198,
y:76,
width:110,
height:106,
fromCenter: false,
layer: true,
visible:false,
click:function(layer){
visible:true
}
})