Dynamic background color

i have background colors saved in a mysql file and outputting them into flash readable strings on a php page:

&bgColor=0xFFFFFF

then i use this actionscript to pull it off the php page:

 
myData = new LoadVars();
myData.onLoad = function() {
putData();
};
//
myData.load("http://www.mysite.com/phpvariables.php");
putData = function(){
colorholder_txt.text = myData.bgColor;
}

so thats great, i can view what color i would like the background to be by its color code in my text box “colorholder_txt”.

now what if i have a generic box drawing script that i want this box to take the color of the php variable loaded color:

 
this.createEmptyMovieClip("bg_mc", 0);
drawRectangle(bg_mc, Stage.width, Stage.height, ***colorholder_txt.text***, 100);
function drawRectangle(target_mc:MovieClip, boxWidth:Number, boxHeight:Number, fillColor:Number, fillAlpha:Number):Void {
with (target_mc) {
beginFill(fillColor, fillAlpha);
moveTo(0, 0);
lineTo(boxWidth, 0);
lineTo(boxWidth, boxHeight);
lineTo(0, boxHeight);
lineTo(0, 0);
endFill();
}
}

is there a way to make this box the designated color when the page loads?