Re: [Flashcoders] Help! Webcam + lineTo on mousemove = webcam freeze

2008-07-05 Thread Alias Cummins
Well for a start, you're going to be creating loads of geometry. Are you rendering your drawings to bitmaps at all? Sounds like a performance issue to me. Drawing vector lines takes CPU - this is just a fact of life. What I'd recommend is something along these lines: User presses mouse User

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
Appreciate the responses. Pause doesn't work. There is only one netstream object instance so no scoping issue. It's a bona fide bug, I just want to know if anyone has a workaround/hack to beat it. From: [EMAIL PROTECTED] on behalf of Steven Sacks Sent: Sun

[Flashcoders] preloader problem - browser cache

2008-07-05 Thread Pavel Krůšek
Hi List, is there a way to determine in AS3 (or more precisely in preloader swf) if main swf is already in the browser cache? Pavel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] preloader problem - browser cache

2008-07-05 Thread Paul Andrews
- Original Message - From: Pavel Krusek [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Saturday, July 05, 2008 9:51 PM Subject: [Flashcoders] preloader problem - browser cache Hi List, is there a way to determine in AS3 (or more precisely in preloader

Re: [Flashcoders] preloader problem - browser cache

2008-07-05 Thread Cédric Tabin
Hello, mmmh not really sure there is no way... You can use the loaderInfo.bytesLoaded and bytesTotal to estimate that. For example, on the first frame you can simply do : if (loaderInfo.bytesTotal == loaderInfo.bytesLoaded) { //the swf is in the cache } Logically, if the swf is in the cache,

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