ActionScript + JavaScript

后端 未结 3 1182
长发绾君心
长发绾君心 2021-01-16 03:01

I\'d like to call a JavaScript function from an embedded .swf file. Specifically, I\'d like to call a function in one of my externally linked JavaScript files f

3条回答
  •  不知归路
    2021-01-16 03:55

    Also incase anyone in the future is looking at this question the Actionscript 3 version of altCognito's answer is like this:

    ExternalInterface.call("displayPost",postId,feedId);
    

提交回复
热议问题