开发者

Is there any way to determine which movie an ExternalInterface.call came from?

On my page, I'm going to embed multiple Flash files that use ExternalInterface to communicate ba开发者_StackOverflowck to the page. When the page receives the ExternalInterface calls, is there any built-in way to determine which swf the call came from?

I don't mind giving each movie a guid FlashVar and attaching that to each ExternalInterface call, but I don't want to duplicate more tested functionality.


What you're think is really your only solution. Passing unique IDs to the SWFs is the only way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜