Pass a variable from a text input field into a URL (Was:I feel like this should be simple but)


i feel should simple i'm having hard time figuring out how pass variable text input field url. have 1 text input field ("enter zip code") , button says "go". when user enters zip , hits "go", need zip code entered pass url new website can see deals in area. 300x250 flash banner. can me?

 

i can upload fla somewhere , link if need be!

assign instance name textfield (eg, your_tf) , use like:

 

navigatetourl(new urlrequest("http://www.yoursite.com?whatever_variable_is_expected="+your_tf.text));



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support