Unregistered1
02-03-2009, 04:39 PM
I have a web site with 4 pages and it is 3 layers deep. Layer 1 is the actions layer with the buttons for the pages. MY problem is that the video on page 2 plays fine and stops after its time of 1:30 1 min. 30 sec. If however i decide to leave the page and go to another page the movie does not stop. I'm having trouble which stop(); command to use and where to use it. I am mostly only getting errors. I have tried putting it on the buttons actions layer, so that when i go to another page the stop would be on the button. i.e.
home_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndStop("home");
gb_flv.stop.();
}
The flash video is the second layer and was made by clicking and dragging from the componants box. I named it gb_flv.
The 3rd layer is where the pages are. they are basically 10 frames each so there is room to do things but not much action script. The only action script is ac3 and is for the 4 buttons for the 4 pages.
I have tried putting gb_flv.stop(); and a few other permutations of that through out the layers but they have only returned errors.
Any help on what I can do to fix this would be great.
-Aaron
home_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndStop("home");
gb_flv.stop.();
}
The flash video is the second layer and was made by clicking and dragging from the componants box. I named it gb_flv.
The 3rd layer is where the pages are. they are basically 10 frames each so there is room to do things but not much action script. The only action script is ac3 and is for the 4 buttons for the 4 pages.
I have tried putting gb_flv.stop(); and a few other permutations of that through out the layers but they have only returned errors.
Any help on what I can do to fix this would be great.
-Aaron