Dynamic Text and ActionScript PHP Email

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.

This shouold do the trick:

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

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!

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;

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