Forum Moderators: open
Flash CS3
Ive got a text input field in my flash file and i just cant seem to grab the text in the text field. Ive given the text input field an instance name and a variable name from the property inspector.
Here is my actionscript
on (rollOver) {
gotoAndPlay("over");
}
on (releaseOutside, rollOut) {
gotoAndPlay("out");
}
on (release) {
//getURL("www.adobe.com");
var goURL = "test.aspx";
trace("goURL is: " + goURL);
trace("txtZipSearch is: " + txtZip.text);
}
the output is...
goURL is: test.aspx
txtZipSearch is:
[edited by: BitShift at 3:22 pm (utc) on Aug. 20, 2007]