jQuery iframe overlay with flash closing issue

Posted by Ryan Max on Stack Overflow See other posts from Stack Overflow or by Ryan Max
Published on 2010-06-18T01:39:41Z Indexed on 2010/06/18 1:43 UTC
Read the original article Hit count: 381

Filed under:
|
|
|

Hello,

I have a site that has a jQuery overlay, which contains an iframe, which pulls in another site that has flash in it. One of the buttons in the flash has editable parameters in xml, and I can change where the link points to. I want this button to close the overlay, but I can't quite figure out how to get it to work. I have tried the following:

closeSection();

and

parent.closeSection();

and

window.parent.closeSection();

None of which work. Though the last two come close. They seem to close the flash, as the iframe just goes blank.

Can anyone steer me in the right direction?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about flash