Skip to main content
Known Participant
December 7, 2017
해결됨

js怎么传参给带HTML包装器的swf?

  • December 7, 2017
  • 1 답변
  • 342 조회

我用animate cc 2018发布了一个带HTML包装器的swf;我怎么在html里用js传参到swf里;

    이 주제는 답변이 닫혔습니다.
    최고의 답변: kglad

    you can use the externalinterface class to communicate between actionscript in your swf and js in the embedding html.

    1 답변

    kglad
    Community Expert
    kgladCommunity Expert답변
    Community Expert
    December 7, 2017

    you can use the externalinterface class to communicate between actionscript in your swf and js in the embedding html.

    arvin0작성자
    Known Participant
    December 11, 2017

    i konw and have used the externalinterface api,but  the it's not work,then i get the other function,added some environment,it's ok now.

    kglad
    Community Expert
    Community Expert
    December 11, 2017

    good to hear.