ExternalInterface.call() not getting return value

后端 未结 7 1896
鱼传尺愫
鱼传尺愫 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:04

    This is a working sample based on the code you provided. You can right click it to view the source. I suspect the problem lies in the HTML for 'myDiv' or when you are making the actionscript call.

提交回复
热议问题