1 Reply Latest reply on Dec 11, 2008 6:31 PM by Ned Murphy

    code to link from SWF to HTML?

    Level 7
      I want to place a .SWF banner on a .html page and it will consist of 3
      frames that it will cycle through. Each of the frames will have a link
      to different HTML pages on my site. How can I make my link so that when
      clicked, it opens the linked HTML page in the same window as where the
      previous page was? This is the code that I am currently using. Thanks!


      Btn1.addEventListener(MouseEvent.CLICK, loadPage);
      function loadPage(event:MouseEvent):void{
      var myURL:URLRequest = new URLRequest(" http://www.adobe.com/");
      navigateToURL(myURL,"_blank");
      }