# Need help with drop-down menu in flash form

**URL:** <https://forum.kirupa.com/t/need-help-with-drop-down-menu-in-flash-form/212368>\
**Category:** flash\
**Created:** [January 10, 2007, 4:08pm UTC](https://forum.kirupa.com/t/need-help-with-drop-down-menu-in-flash-form/212368 "2007-01-10T16:08:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hafling](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hafling](https://forum.kirupa.com/u/hafling)\
**Post date:** [January 10, 2007, 4:08pm UTC](https://forum.kirupa.com/t/need-help-with-drop-down-menu-in-flash-form/212368/1 "2007-01-10T16:08:24Z")

</div>

[Flash 8] - need help!  
This is my first time coding a “Flash Form”. I have your basic (first / last name fields), but need to incorportate a “drop-down” menu into my form.

How would the “AS” code be incorporated in the below action?

Name - Gender  
Options - Male / Female

This is what I have so far… (Thanks!! :azn:

[COLOR=red]if (firstName == null || lastName == null || emailAddress == null || zipCode == null || {  
gotoAndPlay(“regempty”);  
} else {  
surveyEntry = new LoadVars();  
surveyEntry.firstName = firstName;  
surveyEntry.lastName = lastName;  
surveyEntry.zipCode = zip;  
surveyEntry.emailAddress = emailAddress;

surveyEntry.sendAndLoad(“x\_processSurvey.asp”, surveyEntry, “POST”);  
gotoAndPlay(“thankyou”);  
}[/COLOR]
