View Full Version : Js & as

04-16-2012, 06:29 AM
Hello ActionScript friends! My name is Ignacio, i'm from Argentina and i'm seeking for some help in the JS and AS field.

I have an assingment to do by tomorrow morning, and i'm a little stuck with this particular question.

There is a Javascript function called “clickMe”, write out the ActionScript that would call the function “clickMe” in a button named “adButton”.

Could anyone help me please?
many thanks in advanced!

04-16-2012, 09:53 AM
You should look into ExternalInterface class, it's call() method in particular. Calling a JavaScript function would be:
assuming in the JavaScript you have:
function javaScriptFunction() { /* do stuff */ }