4 Replies Latest reply on Jan 31, 2008 3:12 PM by Newsgroup_User

    open links in same window, not new

    snabdab Level 1
      Help greatly appreciated!
      My links open in a new window, but I need them to open in the same window.
      What do I need to add to my code so that this happens.
      Here is my code-

      stop();
      var arrLinks:Array = new Array();
      arrLinks[1] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027141/category.cgi';
      arrLinks[2] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027139/Harlequin-Historical.html';
      arrLinks[3] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027129/Silhouette-Desire.html';
      arrLinks[4] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027136/Silhouette-Nocturne.html';
      arrLinks[5] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027121/Harlequin-Intrigue.html';
      arrLinks[6] = ' http://www.diesel-ebooks.com/cgi-bin/category/FIC027123/Harlequin-Blaze.html';
      //
      var pc = 0;
      this.onEnterFrame = function() {
      pc = Math.floor((_root.getBytesLoaded()/_root.getBytesTotal())*100);
      if (pc == 100 && !isNAN(pc)) {
      delete this.onEnterFrame;
      _root.play();
      }
      };


      The project this code refers to is here-
      http://www.respond1.com/harlequin/slider/slider_over_all2.html

      Thank you so much in advance.
      Dave