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 <deepanjan....@gmail.com>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 <
> jason.merr...@bankofamerica.com> 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
>> Flashcoders@chattyfig.figleaf.com
>> 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to