I have a button that when hovered over plays a movieclip (a info bubble appears) when I mouse out it disapears.
There is also a video clip on the stage.
Currently if I launch the flash movie I can play the video clip the controls are active, however as soon as
I hover over the info button once (the info bubble is now on top of the video clip), then mouse
off the button (the info bubble disapears) however the video controls have now become in-active.
I need to set the hover_jim movieclip
back to its previous depth when I mouse out of the button, jim_btn
There is also a video clip on the stage.
Currently if I launch the flash movie I can play the video clip the controls are active, however as soon as
I hover over the info button once (the info bubble is now on top of the video clip), then mouse
off the button (the info bubble disapears) however the video controls have now become in-active.
I need to set the hover_jim movieclip
back to its previous depth when I mouse out of the button, jim_btn
Code:
var currentDepth:uint = this.numChildren - 1;
jim_btn.addEventListener(MouseEvent.MOUSE_OVER, goto_bubble4);
function goto_bubble4(evt:MouseEvent){
this.setChildIndex(hover_jim, currentDepth);
hover_jim.gotoAndPlay("go");
}
jim_btn.addEventListener(MouseEvent.MOUSE_OUT, goto_bubble_out4);
function goto_bubble_out4(evt:MouseEvent){
//this.setChildIndex(hover_jim, currentDepth);
hover_jim.gotoAndPlay("goer");
}
Comment