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'll use LoaderMax from greensock
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
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 stop
Try pausing, stopping
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] FLV audio doesn't stop
Try
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:
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 our apps.
We don't use
Off the display list does not mean not playing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 when
unloading
...@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 unloadAndStop() was suppose
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
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)
{
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.
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.comwrote:
Hello Jason,
I am using this to clear the FLVPlayback:
I have added the FLVPlayback component through code doing an addChild.
Then
...@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
Deepanjan
-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.
Cheers
: 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 starts playing?
Best,
Karl
On Sep 30
] 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
deepanjan
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
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
: 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 the video, but the steam is open
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()
-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 might want to try
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
You might
...@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
reloading
Geez Karl
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,
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
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
[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();
_flvPlayback.stop();
_flvPlayback.getVideoPlayer(0
, 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
// Maybe also replace the above line
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
-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, please
check
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,
: 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
-
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 are you removing the video?
Are you
34 matches
Mail list logo