Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Deepanjan Das
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

RE: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Merrill, Jason
lashcoders-boun...@chattyfig.figleaf.com] 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

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Nathan Mynarcik
I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that "unloadAndStop()" was suppose to work when unloading the current swf/flv. I think this is a Flash 10 only method. Perhaps this might fix your issue? On Wed, Sep 29, 2010 at 10:02 PM, Merril

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread 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

Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Karl DeSaulniers
Learning -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] 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

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Henrik Andersson
Off the display list does not mean "not playing". ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
lf Of Nathan Mynarcik Sent: Wednesday, September 29, 2010 10:43 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that "unloadAndStop()" was suppose to work

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
oders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik Sent: Wednesday, September 29, 2010 10:43 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop I have encountered this as well with an e-Learning Flash Course I did last year. I read somewhere that "unloadAn

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
>>Off the display list does not mean "not playing". Right, yeah, I understand that - sorry, I should have clarified that I am also stopping the video as well. My code does the following when a video is supposed to be removed before a new one is created and played: 1. The Flvplayback component

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
>> 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.getVideoPlaye

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
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. thi

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
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 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

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] 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 Deep

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] 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. C

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Hi Jason, Could you set the code that starts the new video to check for a boolean before playing a new video? I am thinking you may already have this. var isPlaying:Boolean = true; and set this when a video actually star

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
] 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 wrote:

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Right here, tell it to pause then continue with your list. 1 - 8. 1. The Flvplayback component instance is told to stop. 2. Any listeners are removed from Flvplayback component instance 3. The Flvplayback component instance is removed from container sprite's display list 4. The Flvplayback co

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Deepanjan Das
ders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers > Sent: Thursday, September 30, 2010 10:56 PM > To: Flash Coders List > Subject: Re: [Flashcoders] FLV audio doesn't stop > > Hi Jason, > Could you set the c

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Json, Your logic seems to be absolutely fine, which suggests that the stream is not getting closed even after deletion. This happens sometimes when the player might be bufferring. So at this time you might have stopped t

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
>> You might want to try to pause the video before stopping, unloading and >> reloading Geez Karl, I think that might have fixed it... at least, since I added the pause() before the stop() and everything else, I cannot reproduce the bug... Stupid, you would think that calling flvPlayback.stop

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
rning -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop >> You m

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
erica Global Learning -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, September 30, 2010 11:27 PM To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop >> You might want to try to pause the video before stopping, unloading and >>

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Try pausing, stopping then closing. _flvPlayback.pause(); _flvPlayback.stop(); _flvPlayback.getVideoPlayer(0).close(); //close the netstream // Maybe also replace the above line with //_flvPlayback.close(); //Kind of reaching on this one. :) _flvPlayback.removeEventListener(VideoEvent.READY, on

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Is this line supposed to start with a "_" underscore? On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote: flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED, onMetadataReceived); Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
Disregard that last email. sry On Sep 30, 2010, at 10:47 PM, Karl DeSaulniers wrote: flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED, onMetadataReceived); Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing

RE: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Merrill, Jason
coders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: Thursday, September 30, 2010 11:47 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Try pausing, stopping then closing. _flvPlayback.pause(); _flvPla

Re: [Flashcoders] FLV audio doesn't stop

2010-09-30 Thread Karl DeSaulniers
rl DeSaulniers Sent: Thursday, September 30, 2010 11:47 PM To: Flash Coders List Subject: Re: [Flashcoders] FLV audio doesn't stop Try pausing, stopping then closing. _flvPlayback.pause(); _flvPlayback.stop(); _flvPlayback.getVideoPlayer(0).close(); //close the netstream // May

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Cor
y and those who don't." -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: vrijdag 1 oktober 2010 5:57 To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Cor
Those who understand binary and those who don't." -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: vrijdag 1 oktober 2010 5:57 To: Flash Coders List Subject: RE: [Flashcoders]

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Randy Tinfow
>Found it : I used SoundMixer.stopAll(); < That will work unless you have other audio playing in the background, which is often the case for our apps. We don't use the flvplayback control, preferring to write CustomNetStreams. To stop video and audio we use: _customNetstream.removeEventListe

RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread Merrill, Jason
f Of Randy Tinfow Sent: Friday, October 01, 2010 5:37 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] FLV audio doesn't stop >Found it : I used SoundMixer.stopAll(); < That will work unless you have other audio playing in the background, which is often the case for ou

RE: [Flashcoders] FLV audio doesn't stop

2010-10-02 Thread Cor
Merrill, Jason Sent: vrijdag 1 oktober 2010 23:44 To: Flash Coders List Subject: RE: [Flashcoders] FLV audio doesn't stop Thanks Cor and everyone - SoundMixer.stopAll() seemed to work best for me - it's not happening anymore no matter how hard I try to break it. Next time around, I'l

Re: RE: [Flashcoders] FLV audio doesn't stop

2010-10-01 Thread allandt bik-elliott (thefieldcomic.com)
Hey jason I think you're falling foul of the way that flvplayback creates new Video objects every time you add a new stream without destroying the previous streams. You also cannot kill your last one if you only have one left which I think causes issues like yours but I think you can use numvideo