i am pulling data via the param tags in to 2 different arrays. Here is what I want to happen:

when value1 of the first array matches pullDate of the 2nd array i want to move date_mc to a specific _x _y location. what i am i doing wrong.


arr = [value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19, value20, value21, value22, value23, value24,];

pullDate = new Array (pullDate)

matchData = function (value1,pullDate){
if (value1==pullDate) {
trace ("working");
date_mc._x = 87
date_mc._y = 64
}
}

thanks,

vega