0

that involves event listeners.

1 Answers1

0

This is a nice integration point:

jQuery SWFObject Plugin

Use the id you embed the swf with to get the object's reference in the dom (via jquery). Once you have the reference, you can call any method you have exposed to js on the object.

Expose methods to js in flash like so:

ExternalInterface.addCallback("methodName", method);

Calling js methods from flash is simpler:

ExternalInterface.call("jsMethodName") ;
user531694
  • 103
  • 4