Hi, I'm trying to write some code to use an address locator and I want to use the single line address field. I have set up my address object with just the single line:var myAddress:Object =
{
SingleLineInput: searchBox.text
};
However I can not give the address field the correct name. According to my locator the field should be called:"Single Line Input"as seen in this JSON code in the locator's rest endpoint:"singleLineAddressField" : {
"name" : "Single Line Input",
"type" : "esriFieldTypeString",
"alias" : "Full Address",
"required" : false}
The problem is that Flex will not allow me to pass a field name of "Single Line Input" because it has spaces in it. All of the other field names work fine since they have no spaces. How can I use this field name in my flex code?Thanks to anyone who can help,Jackson