# Sending a string/text to a dynamic text box

**URL:** <https://forum.kirupa.com/t/sending-a-string-text-to-a-dynamic-text-box/278104>\
**Category:** flash\
**Created:** [December 22, 2008, 3:48pm UTC](https://forum.kirupa.com/t/sending-a-string-text-to-a-dynamic-text-box/278104 "2008-12-22T15:48:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j3ron](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@j3ron](https://forum.kirupa.com/u/j3ron)\
**Post date:** [December 22, 2008, 3:48pm UTC](https://forum.kirupa.com/t/sending-a-string-text-to-a-dynamic-text-box/278104/1 "2008-12-22T15:48:40Z")

</div>

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](http://www.grafx.dk/Flash/test.swf)  
Made a little mock-up of what I mean.
