Thanks to everyone’s help on here, I’ve finally almost have my website completed…but I have one more (hopefully my last) question. I have an FLV file and when I navigate away from it the audio continues to play. The instance name of the FLV is “reel” From other forums I’ve read that I need use: reel.stop(); however I think my case is different as the buttons to navigate away are all contained within movie clips. Here is the code I am using on my buttons.
stop();
import flash.events.MouseEvent;
motion.addEventListener(MouseEvent.ROLL_OVER, roll_over);
motion.addEventListener(MouseEvent.ROLL_OUT, roll_out);
motion.addEventListener(MouseEvent.MOUSE_DOWN, button_click);
var appRoot:MovieClip = parent as MovieClip;
function roll_over(event:MouseEvent):void {
gotoAndPlay(1)
}
function roll_out(event:MouseEvent):void {
gotoAndPlay(9)
}
function button_click(event:MouseEvent):void {
appRoot.gotoAndPlay(130)
};
What additions do I need to make to fix this issue? Again thank you guys so much for your help!
EDIT One thing I forgot to mention was that the FLV is also contained in a movieclip itself called reelMC (just so that i could have drop shadow …)