Thanks, tried that too.  Seems the problem occurs if the user goes to look at a 
new video before the previous video in the previous sprite starts playing.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning 



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

Hi Jason,
Try to close the stream after stopping the playpack.

Cheers
Deepanjan Das

On Fri, Oct 1, 2010 at 8:14 AM, Deepanjan Das <[email protected]>wrote:

> Hello Jason,
> I am using this to clear the FLVPlayback:
> I have added the FLVPlayback component through code doing an addChild.
>
> Then I have passed the custom NCManagerLimelight Class which overrites 
> the inbuilt NCManager class.
> The NCManagerLimelight is an opensource code you will get from net.
>
> this.video = new FLVPlayback();
> VideoPlayer.iNCManagerClass = NCManagerLimelight;
>
> if (this.video.ncMgr.netConnection != null) {
>     if (this.video.ncMgr.netConnection.connected) {
>      if(this.video.getVideoPlayer(0).netStream != null){
>
>       this.video.getVideoPlayer(0).close();
>       //TraceDebug.print("NET_STREAM ON RESET : " + 
> this.video.getVideoPlayer(0).netStream);
>      }
>     }
>    }
>
> Hope this helps.
>
>
> --
> 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 11:17 PM, Merrill, Jason < 
> [email protected]> wrote:
>
>> >> 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();
>>
>> I get a null error when I run that:
>>
>> if (_flvPlayback != null)
>> {
>>        _flvPlayback.getVideoPlayer(0).close();
>>        _flvPlayback.getVideoPlayer(0).netStream.close(); //<--Null 
>> error here ...
>>
>> The null error is on the second statement 
>> (_flvPlayback.getVideoPlayer(0).netStream.close();), not the first 
>> (_flvPlayback.getVideoPlayer(0).close();).
>>
>> ??
>>
>>
>>  Jason Merrill
>>  Instructional Technology Architect
>>  Bank of America  Global Learning
>>
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>


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

*"Think of the environment before printing this email"*
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to