Sending a string/text to a dynamic text box

Hi all. Im a relative newbie to flash (am currently using the CS4 trial), and have been fooling around with it a little.

I’m trying to make a swf with 5 objects. The objects can all have X number of colors. The user can change change the color of the objects using an up or down button. This much I have gotten to work. What I’m trying to do now is have a text box somewhere on the page that constantly updates with what colors box 1-5 have. This info could then be sent by mail with a PHP script (I think I have that working too - haven’t been able to test it on a PHP enabled server yet).

The boxes are movie clips with X number of frames, a different color on each frame and a stop frame on each frame as well. The buttons just tells the movie clip to gotoPrev or gotoNext.

I need some way to update (or send to) the dynamic text box.

What’s the easiest way to do this?

http://www.grafx.dk/Flash/test.swf
Made a little mock-up of what I mean.