okay i figured out how to reference or set variables from in a movie clip to the time line
var n:Number = 0; //n is the name o the variable
function fName(){} //fName is the name of your function add in what you want it to do
and call it in your movie clip or on the timeline with fName();