# Dynamic Text and ActionScript PHP Email

**URL:** <https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353>\
**Category:** flash\
**Created:** [April 12, 2006, 6:15pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353 "2006-04-12T18:15:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwe11](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Maxwe11](https://forum.kirupa.com/u/Maxwe11)\
**Post date:** [April 12, 2006, 6:15pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353/1 "2006-04-12T18:15:14Z")

</div>

FlashMX | ActionScript 2.0

I am using Kirupa\_flash\_php\_email.fla as a model.

Is there any way to perform this function:  
form.loadVariables(“emaill.php”, “POST”);  
using dynamic text vs. input text?

* * *

I am preparing a tutorial/test in which the students enter all ID on the first frame.

The vID is stored until the end of the test, where they will then submit their record of completion to an email PHP.

I have not been able to transmit the variables from dynamic text fields. Kirupa\_flash\_php uses input files. If I use the form.loadVariables(“emaill.php”, “POST”); on the front-end entry, I will be able to transmit to the ID’s, but without any test results.

Resolutions or Work-Arounds are appreciated.

---

<div class="post-metadata">

**Author:** ![Ordinathorreur](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ordinathorreur/32/536_2.png) [@Ordinathorreur](https://forum.kirupa.com/u/Ordinathorreur)\
**Post date:** [April 12, 2006, 6:22pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353/2 "2006-04-12T18:22:38Z")

</div>

This shouold do the trick:

form.myFirstVariable = myTextField.text;  
form.mySecondVariable = mySecondTextField.text;  
form.loadVariables(“emaill.php”, “POST”);

---

<div class="post-metadata">

**Author:** ![Maxwe11](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Maxwe11](https://forum.kirupa.com/u/Maxwe11)\
**Post date:** [April 12, 2006, 7:17pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353/3 "2006-04-12T19:17:48Z")

</div>

Thanks.

You know I had that same .text problem yesterday (I won’t forget it)

While I’ve got your attention, What is the property value of an input text file?  
I want to do this:

setProperty (a particular txtfield\_visible, false);

Thanks again!

---

<div class="post-metadata">

**Author:** ![Ordinathorreur](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ordinathorreur/32/536_2.png) [@Ordinathorreur](https://forum.kirupa.com/u/Ordinathorreur)\
**Post date:** [April 12, 2006, 7:54pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353/4 "2006-04-12T19:54:53Z")

</div>

I think you have to put a textfield inside a MovieClip to adjust it’s visibility property, but i may be mistaken.

You would then use the usual syntax:  
myMovieClip.\_visible = false;

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [April 12, 2006, 7:58pm UTC](https://forum.kirupa.com/t/dynamic-text-and-actionscript-php-email/185353/5 "2006-04-12T19:58:41Z")

</div>

> I think you have to put a textfield inside a MovieClip to adjust it’s visibility property, but i may be mistaken.

You are correct
