  | | | Why is NetStream.Play.Stop not firing? | Why is NetStream.Play.Stop not firing? 2004-03-12 - By ryanm
Back > When the FLV has finished playing - nothing. Shouldn't > NetStream.Play.Stop fire?!?! > > Has anyone else seen this behavior from NetStream.onStatus? I want to > use the NetStream.Play.Stop to dissolve off the video window so I don't > have a black box sitting on screen. > Yes, actually, I have. The way I got around it was by watching for Buffer.Empty instead, because the buffer *should* only be empty when the movie is done playing. If it's empty before that, then your buffer isn't large enough for your target audience. It was an ugly hack, but it worked for me on that project. I can't offer any insight as to why this happens, but I have run into it.
ryanm
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106819 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |