0 Replies Latest reply on Jun 25, 2012 9:31 AM by a.carlstein

    How to Refresh a Page

    a.carlstein

      1. I have an interactive animation in Flash SWF which is imported to my document.

       

      2. This SWF have a button with the following code:

       

      import flash.external.ExternalInterface
      
      /* Stop at This Frame */
      
      stop();
      
      btnPart1Instance.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
      
      function fl_MouseClickHandler(event:MouseEvent):void {   
          var retn1:Object=ExternalInterface.call( "eval", "this.gotoNamedDest('G10.1013694')");
          var retn2:Object=ExternalInterface.call( "eval", "this.delay = true"); // Trying to force page to refresh 
      }
      

       

      3. This code allows me to jump to the page I wish; however, the rectangle in which the Flash SWF shows in front of the page.

       

      4. I wish to force refresh the page so this rectagle disappear by using Javascript.

       

      What is your opinion?

      How can I make this work?