1 Reply Latest reply on Feb 5, 2007 7:45 PM by ggshow

    Assigning mass variables

    treeflop12
      Inside a movie clip on the stage i have 15 more movie clips, called box1 - box 15. inside each box instance is a text field called date. i want to fill in the text field in box1 with the current date, and box2 with tomorrow's, and so on. How can i assign all of the dates without writing :

      box1.date.text = (todays date)
      box2.date.text = (todays date+1)
      etc...

      It needs to be that way, because I am later checking each day against a slot in an array to see if I need to fill in the proper info for that box.