ActionScript 3 ExternalInterface, pass javascript variable?

How do I pass a variable to a javascript function using ExternalInterface?

+6
actionscript-3 externalinterface
source share
1 answer

See the document for the external call interface function here

Example:.

import flash.external.ExternalInterface; if (ExternalInterface.available){ ExternalInterface.call("myJavascriptFunction", argument1, .., argumentN); } 
+13
source share

All Articles