# Passing Value from Input Text Field to onClipEvent

**URL:** <https://forum.kirupa.com/t/passing-value-from-input-text-field-to-onclipevent/209635>\
**Category:** flash\
**Created:** [December 11, 2006, 2:13am UTC](https://forum.kirupa.com/t/passing-value-from-input-text-field-to-onclipevent/209635 "2006-12-11T02:13:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shandley14](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@shandley14](https://forum.kirupa.com/u/shandley14)\
**Post date:** [December 11, 2006, 2:13am UTC](https://forum.kirupa.com/t/passing-value-from-input-text-field-to-onclipevent/209635/1 "2006-12-11T02:13:52Z")

</div>

I’m tyring to get the value of inputName inside a onClipEvent

The Layout:

Frame 1:  
Input Text field named inputName  
Button with gotoandstop(3) action

Frame 3:  
Movie that contains

onClipEvent (load) {  
loadVariables(“store\_locator.php?ma=500&user\_zip=” **+ inputName.text** , this, “GET”);  
}

if i use

onClipEvent (load) {  
loadVariables("store\_locator.php?ma=500&user\_zip= **85645** , this, “GET”);  
}

it works.

I don’t know how to get the value of inputName into the onClipEvent (load){};

i have searched, but maybe I don’t know the right terminology to find the answer. Thanks for the help.
