开发者

Javascript to Actionscript 2.0

I have a document in Flash in Actionscript 2.0 and I would like to use it with Javascript. It happens that most solutions I find are always for Actionscript 3.0. The solution that I found most is this code:

ExternalInterface.add_addCallback("PlayMovie", PlayMovie);

Now, I want to use it in Actionscript 2.0 but I don't k开发者_Go百科now how to do it and if I need more code than this line.


ExternalInterface is available in both Actionscript 2.0 (starting with Flash Player 8) and 3.0. The usage is pretty similar in both, but here's an example in AS2:

http://blog.deconcept.com/2005/08/16/external-interface/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜