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){
}
精彩评论