Link to home
Create AccountLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

ActionScript 3: Send JavaScript Alet

Using ActionScript, I want to send a JavaScript alert.

My code does NOT give an alert and it does not produce any errors.
import flash.external.ExternalInterface;
ExternalInterface.call("alert","123");
ExternalInterface.call("alert(789)");

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of deepanjandas
deepanjandas
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of hankknight

ASKER

Thanks, but it still isn't working for me!   I have attached my code.
f.zip
Hi,
I got the alert "123" in Mozilla2.0.0.20 as well as IE7.

Kindly let me know which browsers are you using and if the javascript is enabled there.

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/
also Chrome 8.055