0 Replies Latest reply on May 26, 2009 5:26 AM by cottonla

    How to change the url of a parent window from a pdf in a pop up.

    cottonla

      Hi,

       

      I have a Flex application which opens a pdf in a popup window using the actionscript:

       

      navigateToURL(myRequest,"_blank");

       

      In the pdf that opens in the pop up I want to create a link which changes the url of the parent window (containing the Flex application).

       

      The idea is that the pdf in the popup will contain a diagram of a piece of equipment with links for the various parts of the equipment. Clicking on a link will cause the flash applicaiton to display the product details for that part (using deep linking).

       

      I've tried using a javascript action of the form:


      window.opener.location='somepage.htm'

       

      but with no success. Any help would be greatly appreciated.

       

      Thanks