简体   繁体   中英

How to call a simple javascript function(); when I click on a button in a .swf file (FLASH)?

I click on a button (or any object where I can write Action Script) and It should call a javascript function which I wrote in my functions.js

Like an alert message for example.

How do I do this?

试试这个ExternalInterface.call("functionname","variables");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM