[CS3/AS2]Button to change fonts in a dynamic box

I have a couple buttons that generate text but I want each of them to use a different font. I tried putting this code on the frame:

onEnterFrame = function () {
	var Format:TextFormat = new TextFormat();
	Format.font = (_root.box.getValue());
	YourTextBox.setTextFormat(Format);
};

And this on the buttons:

on (release)
{
	var box = new Array(Arial);
//whatever
}

But it didn’t work. The only problem I know I’m going to run into is that the fonts I want are ones I added like GoreFont or something. So how would I get those to work too?