RE: [Flashcoders] Netstream fails to close

2008-07-10 Thread Alexander, Mary
] Netstream fails to close Steven Sacks wrote Move to AS3. ;) Alexander, Mary wrote: Does anyone have a solution for AS2? LOL. One of the best pieces of advice I've seen on the lists! You made my day, Steven. Cordially, Kerry Thompson ___ Flashcoders

RE: [Flashcoders] Netstream fails to close

2008-07-09 Thread Alexander, Mary
Does anyone have a solution for AS2? From: [EMAIL PROTECTED] on behalf of Steven Sacks Sent: Tue 7/8/2008 4:46 AM To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close And it's worth mentioning this works for AS3 Flash Player 9.0.47 only

Re: [Flashcoders] Netstream fails to close

2008-07-09 Thread Steven Sacks
Move to AS3. ;) Alexander, Mary wrote: Does anyone have a solution for AS2? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Netstream fails to close

2008-07-09 Thread Kerry Thompson
Steven Sacks wrote Move to AS3. ;) Alexander, Mary wrote: Does anyone have a solution for AS2? LOL. One of the best pieces of advice I've seen on the lists! You made my day, Steven. Cordially, Kerry Thompson ___ Flashcoders mailing list

Re: [Flashcoders] Netstream fails to close

2008-07-08 Thread Jason Van Cleave
. To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close The only bug with NetStream that I know of is if you're spamming it with new streams too quickly. The solution is to throttle the requests. A safe time to wait between changing the streams is 250ms. It's really simple

Re: [Flashcoders] Netstream fails to close

2008-07-08 Thread Steven Sacks
Barry, FYI, I didn't just throw out an idea and pull some code out of my ass. I have tackled this exact issue for a client that needed to stop a stream from downloading when they closed the stream, and couldn't actually kill streams when the user interaction resulted in spamming new

Re: [Flashcoders] Netstream fails to close

2008-07-08 Thread Steven Sacks
And it's worth mentioning this works for AS3 Flash Player 9.0.47 only. It does not work for AS2. The first link you provided was from 2004 with Flash Player 7. The second link didn't look like it had any solution. The third link shows how bad the bug is, and I'm well aware this was part of

Re: [Flashcoders] Netstream fails to close

2008-07-08 Thread Jon Bradley
On Jul 8, 2008, at 3:44 AM, Jason Van Cleave wrote: I could cast the sound onto a separate object and mute it, so that you don't see or hear any ill effects, but my proxy tells me the flv is still downloading, so if one of my clients users clicks on 10 video clips their connection will crawl

RE: [Flashcoders] Netstream fails to close

2008-07-08 Thread Barry Hannah
] Netstream fails to close Barry, FYI, I didn't just throw out an idea and pull some code out of my ass. I have tackled this exact issue for a client that needed to stop a stream from downloading when they closed the stream, and couldn't actually kill streams when the user interaction resulted

RE: [Flashcoders] Netstream fails to close

2008-07-06 Thread Barry Hannah
will crawl to a halt. Anyone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Sunday, 6 July 2008 9:41 a.m. To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close The only bug with NetStream that I know of is if you're

Re: [Flashcoders] Netstream fails to close

2008-07-05 Thread Jason Van Cleave
sounds like a scope issue where you have multiple netstream objects On Thu, Jul 3, 2008 at 9:54 PM, Barry Hannah [EMAIL PROTECTED] wrote: I'm trying to fix a bug in a video player. Selecting a new video to play from a playlist, plays correctly but the first clip's audio doesn't die. I'm

Re: [Flashcoders] Netstream fails to close

2008-07-05 Thread Steven Sacks
You have to pause() before you close(). Jason Van Cleave wrote: sounds like a scope issue where you have multiple netstream objects On Thu, Jul 3, 2008 at 9:54 PM, Barry Hannah [EMAIL PROTECTED] wrote: I'm trying to fix a bug in a video player. Selecting a new video to play from a

RE: [Flashcoders] Netstream fails to close

2008-07-05 Thread Barry Hannah
/07/2008 6:00 a.m. To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close You have to pause() before you close(). Jason Van Cleave wrote: sounds like a scope issue where you have multiple netstream objects On Thu, Jul 3, 2008 at 9:54 PM, Barry Hannah [EMAIL PROTECTED] wrote

Re: [Flashcoders] Netstream fails to close

2008-07-05 Thread Steven Sacks
The only bug with NetStream that I know of is if you're spamming it with new streams too quickly. The solution is to throttle the requests. A safe time to wait between changing the streams is 250ms. It's really simple to write a queueing system that does this. You just overwrite the same