<?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 Re: flexviewer dispatchEvent message from a new widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327253#M9527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Angie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you show me what you had to change...? What I posted should have worked without any change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The place to find this type of info is here is the Flex Viewer Developer documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have found the announcement about the change back in 2.4 release what's new.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have better luck getting answers if you follow a little forum etiquette. &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Mark your posted as answered when your original question is answered. I have posted at the bottom of my thread a image with the steps of how to do that, (again).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If you have additional questions post new threads for each question once your original question has been answered.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Apr 2012 03:13:28 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-04-08T03:13:28Z</dc:date>
    <item>
      <title>flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327249#M9523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was creating a new widget from sample code in the gallery and when I created my widget I got a 3606 'dispatchEvent' has been deprecated. Please use 'appEvent.dispatch'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the new flexviewer 3.0 and the code might have been from 2.5.&amp;nbsp; In addition, I am working in flash builder 4.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what this warning means?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched ESRIc site and looked at the API Reference.&amp;nbsp; I have attached the warning message&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Angie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 19:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327249#M9523</guid>
      <dc:creator>AngieGarcia1</dc:creator>
      <dc:date>2012-04-06T19:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327250#M9524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Angie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It is pretty straight forward to fix this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Old code line&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ViewerContainer.dispatchEvent(new AppEvent(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;New code Line&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;AppEvent.dispatch(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 21:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327250#M9524</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-06T21:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327251#M9525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Angie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Also another little thing... This is the Flex API forum and you are posting Flex Viewer questions here which should be posted on the Flex Viewer forum here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please make not of this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2012 21:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327251#M9525</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-06T21:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327252#M9526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Angie,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; It is pretty straight forward to fix this error.&lt;BR /&gt;&lt;BR /&gt;Old code line&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ViewerContainer.dispatchEvent(new AppEvent(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;New code Line&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;AppEvent.dispatch(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; on this post and to &lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt; as shown below:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This may have been simple code however, it did not work until I did some parentheses clean-up.&amp;nbsp; Where can one go to understand how the flex viewer syntax (code) works. I have been through ESRIs flex viewer site and the reference tags, but could not find anything on the AppEvent.dispatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do next is add a feature to the drop-down box ex: police station and when the point is placed on the map the line draws to the nearest police station.&amp;nbsp; As the widget stands now, one can select police station from the drop down box and place the point on the map, but no line is drawn a message just appears saying its complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2012 14:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327252#M9526</guid>
      <dc:creator>AngieGarcia1</dc:creator>
      <dc:date>2012-04-07T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327253#M9527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Angie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you show me what you had to change...? What I posted should have worked without any change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The place to find this type of info is here is the Flex Viewer Developer documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have found the announcement about the change back in 2.4 release what's new.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have better luck getting answers if you follow a little forum etiquette. &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Mark your posted as answered when your original question is answered. I have posted at the bottom of my thread a image with the steps of how to do that, (again).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If you have additional questions post new threads for each question once your original question has been answered.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 03:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327253#M9527</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-08T03:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327254#M9528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Angie,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Can you show me what you had to change...? What I posted should have worked without any change.&lt;BR /&gt;&lt;BR /&gt;The place to find this type of info is here is the Flex Viewer Developer documentation:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html"&gt;http://help.arcgis.com/en/webapps/flexviewer/apiref/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You would have found the announcement about the change back in 2.4 release what's new.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_was_new_in_2_4_Viewer/01m300000030000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You will have better luck getting answers if you follow a little forum etiquette. &lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Mark your posted as answered when your original question is answered. I have posted at the bottom of my thread a image with the steps of how to do that, (again).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If you have additional questions post new threads for each question once your original question has been answered.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; on this post and to &lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt; as shown below:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Angie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 14:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327254#M9528</guid>
      <dc:creator>AngieGarcia1</dc:creator>
      <dc:date>2012-04-08T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: flexviewer dispatchEvent message from a new widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327255#M9529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Angie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you do not add the GeometryEffects.swc from the swc folder to your projects libs folder than you will probably not get the lines drawn to the closest facilities.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 18:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flexviewer-dispatchevent-message-from-a-new-widget/m-p/327255#M9529</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-08T18:05:31Z</dc:date>
    </item>
  </channel>
</rss>

