Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to use fas.event.* command to handle video event in Flash?

Command event Flash video
0
Posted

How to use fas.event.* command to handle video event in Flash?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123