0 Replies Latest reply on Jun 14, 2008 9:20 PM by Micah.L

    open two new sites?

    Micah.L
      I try to duplicate a MC(a tag for one of my news)
      And I would like it open a website(new window) when a click on those duplicates of the MC.
      so I wrote AS on that MC:
      //----------------------------------------------seperator--------------------------------- ---------------------
      on(press){getURL("abc.html","_blank")}
      //----------------------------------------------seperator--------------------------------- ---------------------


      then on a button,I wrote:
      //----------------------------------------------seperator--------------------------------- ---------------------
      on(press){
      for(i=1;i<=10;i++){
      duplicateMovieClip("_root.abc_mc","abc_mc"+i,this.getNextHighestDepth())}}
      //------------------------------------------------seperator------------------------------- ---------------------
      Well,(ignore the mistakes i may make here)the script worked.
      And somewhat too perfect.when I click on the mc, it open two sites one time.
      Hope that my poor English can make you understand what the matter is...
      Does anyone here get the same problem and solve it or does anyone have a clue about what's going on??
      Looking foward for your help~~~~~~~~~~