如何从 ActionScript 打开多个弹出浏览器窗口?

发布于 2024-09-04 09:13:52 字数 36 浏览 8 评论 0原文

如何从 ActionScript 打开多个弹出浏览器窗口?

How to open multiple pop up browser windows from ActionScript?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

假面具 2024-09-11 09:13:52

您可以使用ExternalInterface直接从ActionScript调用JavasScript方法

import flash.external.ExternalInterface;

ExternalInterface.call('window.open("http://www.google.com/")');

You can call JavasScript methods straight from ActionScript using the ExternalInterface

import flash.external.ExternalInterface;

ExternalInterface.call('window.open("http://www.google.com/")');
青瓷清茶倾城歌 2024-09-11 09:13:52

您需要使用callLater 将navigateToUrl() 调用排队。

如果一次全部发送,则屏幕更新只会拾取最后一个 navigatorToUrl。查看此链接 -> http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=passingarguments_086_12.html

You need to use a callLater to queue the navigateToUrl() call.

If sent all at once only the last navigateToUrl gets picked up by the screen update. Check this link out -> http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=passingarguments_086_12.html.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文