How to use fas.event.* command to handle video event in Flash?
1.If you use the LoadVideo smartclip, then you may add the following repective funcitons at OnClipEvent(load) function OnNewStream() function OnEndOfStream() function OnPlayStateChange(ps) function OnNewBuffering() function OnEndOfBuffering() function OnOpenStateChange(openState) function OnPlayStateChange(playState) function OnScriptCommand(scriptType, scriptParam) function OnDisconnect() function OnWarning(warning) function OnError(error) function OnMarkerHit(marker) funciton OnAPClose() 2. If you don’t use the smartclip, We use fscommand “fas.event.EndOfStream” as an example: (1). At frame 1 fscommand(“fas.event.EndOfStream”, “/:VideoEndLabel”) fscommand(“fas.avclip.load”,”test.avi”) (2).At frame 2 Stop (3).At frame 3 – 50, have a flash clip. (4).At frame 60, set the frame label as “VideoEndLabel” GotoAndPlay(3) Then the frame 3 – 50 flash clip will be played at the end of the video playback.