开发者

Opener Window... Navigate To URL?

Ok so my main window is going to open up a popup window, the popup window is going to contain a Flex app.开发者_开发技巧

The flex app is going to need to navigatToURL() but also send POST data along with it.

However instead of the popup-window navigating, I would like to main-window to navigate to the url and recieve the post vars.

Is this possible?

Thanks!


You would have to use ExternalInterface to call a javascript function in your popup window (Your Flex app does not know that it is in a popup window).

IN the function, you'll need to submit a form through the opener (you can call a javascript function of the opener like this: window.opener.func();)

See this link for more information on ExternalInterface.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜