I'm having a problem passing dynamic variables to a Javascript function using ExternalInterface
.
The variables don't seem to be resolved correctly
//CODE START
var customInfo :String='some custom info'
ExternalInterface.call("funcName", 'arg1Name', ' "+customInfo+" ')
//CODE END
In Javascript, I get 'customInfo' literally, it isn't being resolved.
Can anyone help?