0

I click on a button (or any object where I can write Action Script) and It should call a javascript function which I wrote in my functions.js

Like an alert message for example.

How do I do this?

3
  • Have you, like, done any research at all? Commented Feb 23, 2012 at 9:03
  • ExternalInterface.call("functionname","variables"); Commented Feb 23, 2012 at 9:13
  • @mgraph - stick it as an answer dude Commented Feb 23, 2012 at 11:59

1 Answer 1

2

try this ExternalInterface.call("functionname","variables");

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.