[英]HOw can I use ExternalInterface from my Flash AS2 swf in an iFrame to call a javascript method?
[英]How to call function of parent html page of an iframe(having swf from which to call function) by ExternalInterface from Flex?
我只想知道是否有可能在与调用方swf所在位置不同的html页面中声明的ExternalInterface调用方法。
示例:我将video.swf放入test.html和另一个页面script.html。 我想从实例化为test.html的video.swf调用在script.html中声明的方法。 可能吗?
通过调用父级,我们将可以访问IFrame上下文。 请致电
ExternalInterface.parent.someFunctoin();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.