AS3 NetStatusEvent events not triggered
NetStatusEvent
has only one type of event: NetStatusEvent.NET_STATUS
; but it comes with many codes for various cases.
Here they are, listed.
However, a lot of them are not triggered for me. I know some are FMS specific but I'm talking about "NetStream.Play.Stop
", "NetStream.Pause.Notify
" or "NetStream.Unpause.Notify开发者_运维问答
".
Is there a case when they shouldn't be triggered, even though I'm calling NetStream's control functions (which take effect), or a known issue around this matter?
Thanks!
Without seeing your code it's hard to guess.
Maybe check the obvious first: are you sure you added a listener to the NetStream instance? Since both NetConnection and NetStream dispatch NetStatusEvent you may have only added the listener to your NetConnection instance.
精彩评论