How to Capture Events of Flash Player Using Javascript

140 Views Asked by At

I want to handle smooth streaming events on client side like video ended, paused... But not using externalinterface is there any way?

1

There are 1 best solutions below

1
Thiago Camargo On

I think you misundertood it. ExternalInterface you use to call a method on your web page (like javascript) from flash. But you don't write an actionscript class on Visual Studio, you can write a javascript and call it using the ExternalInterface.

You can find tutorials on the ExternalInterface here: http://lightness.co.uk/external-interface-examples/