Arrays (?) Linking #'s to movie clips

Hi, I have a rather odd request that will take a bit of explaining.

Myself, and my group members, are working on a project that involves an interactive calendar. We want users to be able to input the starting and ending dates of events into two dynamic text boxes, and then have the dates chosen in the range to appear on the ‘calendar’ as a horizontal line running through the boxes (days) showing the entire timeline of the event.

We are hoping to design it so that each box of calendar contains a portion of the ‘line’ which is defaulted to be invisible, but when the corresponding date has been chosen, it will become visible forming a portion of the line.

We have planned the action script to figure out the beginning and ending date and all dates in-between from the numbers entered in the text fields, but as of yet do not know how to correspond these numbers with the boxes in order to ‘turn on’ the correct portions of the line contained within each calendar box. We need to associate each number chosen with the correct calendar box and trigger the line contained within to become visible.

The closest thing I have heard of is using arrays, but I am unfamiliar with the process and am unsure whether they would work in this case. Does anyone have any advice, or answers or links? We are quite stuck.

Thank you so much (this is my first time posting)