0

that involves event listeners.

1 Answer 1

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") ;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.