开发者

Need Flash popup to redirect parent

I'm working on a project with a Flash object I have no control over, though I can get changes made by the developer. What needs to happen is for the Flash object to POST a value to a php file on my server, and upon a successful result, redirect the parent window to a new url, and then close the popup.

It's POSTing correctly, but the redir开发者_Go百科ect won't go to the parent.

Right now, we have this javascript happening in the Flash, which works with straight HTML:

opener.location='view_cart.php';
self.close();

And it's just closing the window without a redirect.

Any suggestions?

I should add - just a redirect was working fine, but in the Flash window, which is not what we want.


As Andy Li indicated in the comments to the question, ExternalInterface, with a JavaScript function to do what we wanted, was the solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜