How would I go about passing a variable to a javascript function using ExternalInterface?
Asked
Active
Viewed 7,510 times
1 Answers
13
See the doc for external interface call function here
Ex.:
import flash.external.ExternalInterface;
if (ExternalInterface.available){
ExternalInterface.call("myJavascriptFunction", argument1, .., argumentN);
}

Patrick
- 15,702
- 1
- 39
- 39
-
Finally an example of multiple parameters. Thanks! – o01 Sep 30 '10 at 07:59