如何使用Javascript捕获Flash Player的事件

时间:2015-03-11 14:48:20

标签: visual-studio flash externalinterface smooth-streaming

我想在客户端处理流畅的流媒体事件,例如视频结束,暂停... 但是没有使用外部接口有什么办法吗?

1 个答案:

答案 0 :(得分:0)

我认为你误解了它。您可以使用ExternalInterface从Flash中调用网页上的方法(如javascript)。但是你没有在Visual Studio上编写actionscript类,你可以编写一个javascript并使用ExternalInterface调用它。

您可以在此处找到ExternalInterface上的教程: http://lightness.co.uk/external-interface-examples/