FORUMS: list search recent posts

stopping multiple flvs

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
babauzius major
stopping multiple flvs
on Jan 22, 2010 at 5:31:27 am


i am working on a project, which contains several external flv's on different pages. i have this notorious problem, when video keeps playing in the background when you navigate away from the frame. I 've figured that the best to get rid of this is to kill the video when any of menu buttons is pressed.The code i am using to deal with this is:

function flvStop():void{

function btn_click(e:MouseEvent):void {
if (mc.item_url!=undefined) {
navigateToURL( new URLRequest( mc.item_url ), "_parent" );
} else {

However, it only works for one video. Can anyone please answer me why? And is there a way to give these videos a variable name?

Thank you.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved