Flex popupManager 可以共享和居中整个 HTML 页面的弹出窗口吗?
我必须在一个页面上放置多个 Flash 影片,并且希望它们共享模式弹出窗口,以便在弹出窗口处于活动状态时拒绝访问整个页面。我可以通过 Javascript 来完成此操作,并通过 ExternalInterface
类创建 HTML 弹出窗口,但我希望能够使用 PopupManager
类在 Flex 中完全完成此操作。
注意:这不是为了任何邪恶的目的。我只需要确保在用户响应他们单击的第一件事之前没有单击其他电影的按钮。此外,有些电影非常小,无法包含它们所需的一些弹出窗口。
I have to put multiple Flash movies on a page and I'd like them to share modal popups, so that access to the entire page is denied while a popup is active. I can do this via Javascript and create HTML popups via the ExternalInterface
class, but I would love to be able to do this entirely in Flex using the PopupManager
class.
Note: This is not for any evil purpose. I just need to make sure none of the other movies' buttons are clicked before the user responds to the first thing they clicked. Also, some of the movies are quite small and can't contain some of the popups they require.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Flex 或 Flash 应用程序将仅限于浏览器将其放入的“框”。您无法使用 PopUpMANager 将元素定位在该框之外,同时仍保持其可见性。他们会出现在“屏幕外”。
我不认为 PopUpManager 可以做你想做的事。
您可以使用 LocalConnection 进行设置,以在其中一个 SWF 中打开对话框时禁用其他 SWF。
A Flex or Flash App is going to be limited to to "Box" the browser puts it in. You can't use PopUpMAnager to position elements outside of that box while still maintaining their visibility. They'd show up "off screen."
I don't think the PopUpManager can do what you want to do.
You may be able to set something up w/ LocalConnection to disable the other SWFs while a dialog box is open in one of them.