i have a requirement where i have to use the FLVPlayback component with live streams from FMS. with FLVPlayback, is there any way that i can have access to the NetStream.onStatus event so that i can test for NetStream.Play.UnpublishNotify?
or does FLVPlayback have anything equivalent to NetStream.Play.UnpublishNotify for determining when a live stream concludes? i have reviewed the docs on FLVPlayback and i am at an impass. background follows: i am writing a swf that receives live streams from FMS. The requirement calls for using the FLVPlayback component. i would like to display the current state of the live broadcast, for example: Not yet started, Live, Broadcast Over, etc. in an article by Stefan Richter i have found sample code that sets up an NetStream.onStatus handler. from Stefan's article it looks like the following two codes on the NetStream info object can be used to determine when a stream starts and stops: NetStream.Play.PublishNotify (start), and NetStream.Play.UnpublishNotify (stop). however, when using a FLVPlayback component it is unclear to me how to access the NetStream.onStatus event. Is this possible? with FLVPlayback to detect stream starts, the FLVPlayback stateChange event provides logic I can use instead of NetStream.Play.PublishNotify. but i can not yet find logic on FLVPlayback that provides an alternative to UnpublishNotify. so far I have test without success the following FLVPlayback events: stateChange, complete, stopped, playing, paused, and close. I also put an onEnterFrame handler to test the FLVPlayback state property, but it just continues to display "buffering" after the live stream UnpublishNotify event occurs. any assistance would be appreciated. --------------------------------- The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

