VR 360 Panorama event handlers not working
Hi. I am following this tutorial
and trying to get the event handler:
AnEvent.MOUSE_DOWN
to work, but it won't work. I'm trying to get it to trigger an alert to test it.
I was able to get
AnEvent.MOUSE_OVER
to successfully trigger an alert.
Here is my code:
this.movieClip_2.addEventListener(AnEvent.MOUSE_OVER, mouseover);
function mouseover()
{
alert("Moused over");
}
this.backg.addEventListener(AnEvent.MOUSE_DOWN, mousedown);
function mousedown()
{
alert("Moused down");
}
Any help?
