ActionScript + JavaScript

后端 未结 3 1181
长发绾君心
长发绾君心 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:36

      getURL("javascript:displayPost(" + postId + "," + feedId +")");
    

    From:

    • http://www.klynch.com/archives/000079.html

    You can also look into the following:

    http://osflash.org/projects/flashjs/tutorials/jstoas

提交回复
热议问题