开发者

How to trigger a custom jQuery event from Flash, passing some data through event object?

开发者 https://www.devze.com 2023-01-28 17:17 出处:网络
How to trigger a开发者_StackOverflow custom jQuery event from Flash, passing some data through event object?If you can trigger it with JavaScript, just invoke JS function with ExternalInterface.call.T

How to trigger a开发者_StackOverflow custom jQuery event from Flash, passing some data through event object?


If you can trigger it with JavaScript, just invoke JS function with ExternalInterface.call.


This is the code I use if I'm passing a string to JS from AS3:

ExternalInterface.call("showBox",as3String);

And then you'd get that from JS using:

function showBox(myString){

}
0

精彩评论

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