Animate 360 VR - Event Listeners not working?
I have a Movie Clip Instance Name "p_OC" and inside that movie clip I have a MC with the Instance Name "b_HS" on the first frame.
When a mouse hovers over b_HS I want p_OC to display the next frame. (So, on Hover, show the contents of the next frame)
This code on the first frame of p_OC where b_HS resides does not perform this function:
this.b_HS.addEventListener(AnEvent.MOUSE_OVER, function() {
this.gotoAndStop(2);
// I have also tried displaying frame 1 assuming frame numbers start at 0
});
The result is p_OC remains on the first frame.
I also tried from the root, this code which produced the same results:
this.p_OC.b_HS.addEventListener(AnEvent.MOUSE_OVER, function() {
this.p_OC.gotoAndStop(2);
});
Does anyone know the magic words to get MC's to respond to Events in Animate 360 VR?
Thank you.