1 Reply Latest reply on Nov 2, 2006 7:10 PM by kglad

    attachMovie

    DANGH_b
      Hello.
      I want to attach a number of movieclips from the librarie. The symbol from the library has a Dynamic textbox named "nnn".
      If i want to attach 4 movieclips when pressing a button:
      for(i=1;i<=nr;i++){
      map.attachMovie( "town","town"+i , 10,{_x:clas[1].xx,_y:clas[1].yy} )
      }
      how can i set the text in the "nnn" textbox(,that every attached movieclip has,) a specific text?
      like for example for town1 it would be town1.nnn.text=clas[1].name
      how can i do that in the "for" statement above..
      something like ["town"+i].nnn.text=clas[1].name
      Thank you in advance