Hi Jason,
I believe you have to initiate the FLV to actually stop before unloading.

IE:
myVideo.stop();
myVideo.removeListeners();

//then unload or load a new video.

I had this situation with a video player that played multiple videos and
stopping the video before I loaded another one did the trick.
Just remember to unload any listeners for cuepoints and such
from the previous video before loading the new one or leaving the area.

HTH,
Best,

Karl


On Sep 29, 2010, at 9:49 PM, Deepanjan Das wrote:

Hi,
I am also using the FLVPlayback Component, but accessed the NetStream from
the component to close it:

this.video.getVideoPlayer(0).close();
this.video.getVideoPlayer(0).netStream.close();

--
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*"Think of the environment before printing this email"*


On Thu, Sep 30, 2010 at 8:11 AM, Merrill, Jason <
[email protected]> wrote:

Hmm, thanks. I'm not using Netstream, I'm using an Actionscript- created
instance of the flvplaybackcomponent.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning


 -----Original Message-----
From: [email protected] [mailto:
[email protected]] On Behalf Of Deepanjan Das
Sent: Wednesday, September 29, 2010 10:36 PM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV audio doesn't stop

Hi Jason,
How are you removing the video?
Are you closing the NetStream and setting it to null for performance,
please check.

In my case that solved this problem as far as I remember.
--
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*"Think of the environment before printing this email"*


On Thu, Sep 30, 2010 at 7:32 AM, Merrill, Jason <
[email protected]> wrote:

Weird issue, I seem to remember a bug similar to this in Flash player 9 where audio does not get released from memory, but I thought I read it
had
been fixed in Flash player 10. Yet, we are seeing this problem in flash
player 10,1,xx

I am playing a series of flv videos. Each video is placed inside a class that extends sprite. When the user clicks a button, there is code to
remove
the sprite that contains the video and any listeners associated with it, create a new sprite with a new movie. I'm doing all the right things to wait for the video to load before playing, etc. This works great locally
-
video gets removed, new one plays. However, when viewing my app online, sometimes (not always) when the user clicks the button, the new video
plays
as it should, but the audio from the previous video that was removed
continues to play. I can't seem to track down why this is happening or
how
to fix.

Anyone encounter this before and have any good fixes or workaround?
 Thanks.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning




_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to