ExternalInterface.call() not getting return value

后端 未结 7 1911
鱼传尺愫
鱼传尺愫 2021-01-12 23:39

I have a Javascript function that returns the innerHTML of a div. I am attempting to call this function from Actionscript and store the return value. I know that the Java

相关标签:
7条回答
  • 2021-01-13 00:08

    Try adding as String to the call:

    textField.text = ExternalInterface.call("JSFunc") as String;
    
    0 讨论(0)
提交回复
热议问题