How would I go about passing a variable to a javascript function using ExternalInterface?
See the doc for external interface call function here
Ex.:
import flash.external.ExternalInterface;
if (ExternalInterface.available){
ExternalInterface.call("myJavascriptFunction", argument1, .., argumentN);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With