Flash How do flush or empty netstream buffer

1.2k views Asked by At

I'm experiencing an issue with a 20 video Flash project. We're calling the videos from a local source, and FLVPlayback is opening netstreams and generating this huge Uncategorized chunk of memory. Upon further inspection, it turns out that it's a large amount of netstream buffers. How do I empty these buffers?

I've found this NetStream.Buffer.Empty but I'm not sure how to properly use it.

1

There are 1 answers

0
JWhiteUX On BEST ANSWER

Instead of using close(); I used dispose(); to stop, close, and flush the NetStream buffer. Many thanks to @batman

netStream.dispose()