How would I go about passing a variable to a javascript function using ExternalInterface?
Actionscript 3 ExternalInterface, Pass variable to javascript?
Asked Answered
See the doc for external interface call function here
Ex.:
import flash.external.ExternalInterface;
if (ExternalInterface.available){
ExternalInterface.call("myJavascriptFunction", argument1, .., argumentN);
}
© 2022 - 2024 — McMap. All rights reserved.