<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic searchwidget want default to be text, not graphical search in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762974#M16808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to get the searchwidget default to be text search, not graphical search. I have changed the index in the searchwidget.mxml code but the icons then select the opposite search type - text for graphical and visa/versa. Is there a more elegant way of doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 11:37:23 GMT</pubDate>
    <dc:creator>PeterHoffman</dc:creator>
    <dc:date>2010-08-10T11:37:23Z</dc:date>
    <item>
      <title>searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762974#M16808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to get the searchwidget default to be text search, not graphical search. I have changed the index in the searchwidget.mxml code but the icons then select the opposite search type - text for graphical and visa/versa. Is there a more elegant way of doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:37:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762974#M16808</guid>
      <dc:creator>PeterHoffman</dc:creator>
      <dc:date>2010-08-10T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762975#M16809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Peter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Just add a selectedindex attribute to the viewstack in the mxml code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 13:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762975#M16809</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-10T13:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762976#M16810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified code to add it, but graphical mode is still default.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private function showStateGraphicalSearch(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WidgetEffects.flipWidget(this, viewStack, "selectedIndex", 0, 400);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; private function showStateTextSearch(event:MouseEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WidgetEffects.flipWidget(this, viewStack, "selectedIndex", 1, 400);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;mx:ViewStack id="viewStack" width="100%" height="100%" &lt;/SPAN&gt;&lt;STRONG&gt;selectedIndex="1"&lt;/STRONG&gt;&lt;SPAN&gt; creationPolicy="all" paddingTop="4"&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 14:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762976#M16810</guid>
      <dc:creator>PeterHoffman</dc:creator>
      <dc:date>2010-08-10T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762977#M16811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You mentioned you switched the viewstacks order around did you set that back to original? I know that this works as I am doing it in my code and have helped several people with this same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 14:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762977#M16811</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-10T14:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762978#M16812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, after trying several things I set the code back to the original code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 14:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762978#M16812</guid>
      <dc:creator>PeterHoffman</dc:creator>
      <dc:date>2010-08-10T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762979#M16813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; You can try to to set the viewStack.selectedIndex = 1; at the very end of the init function also. It sounds like your changes are not getting built though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 15:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762979#M16813</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-10T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: searchwidget want default to be text, not graphical search</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762980#M16814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got it to work with your suggestion. I forgot I had added another line of code recommended by another coder. After taking out that line it works as desired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank for your quick help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 16:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/searchwidget-want-default-to-be-text-not-graphical/m-p/762980#M16814</guid>
      <dc:creator>PeterHoffman</dc:creator>
      <dc:date>2010-08-10T16:16:55Z</dc:date>
    </item>
  </channel>
</rss>

