<?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 Identify 2.3.1 1st-call problem in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375349#M10745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the Identify Widget version 2.3.1 in a stock Flexviewer 2.3.1 and having a problem with the first Identify call- it is configured to a single dynamic Mapservice with a few Fields set.&amp;nbsp; The first execution of Identify returns a result to the widget's Result state, then when I mouseover it the InfoPopupWidget opens to the feature but with only the Title, no Content displayed.&amp;nbsp; Subsequent Identify's work correctly (the mouseOver of a result opens the InfoPopupWidget with the field-values Content correct).&amp;nbsp; In FlashBuilder it appears that the InfoPopupWidget.mxml is running its creationCompleteHandler() on this 1st Identify execution which calls dataChangeHandler(null) but not firing the DATA_CHANGE event.&amp;nbsp; The subsequent Identify runs do fire DATA_CHANGE and the dataChangeHandler() has data != null, then correctly fills in the infoWindow with data.content. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Have other users seen this problem, and is there a workaround to make 1st Identify fill the popup map.infoWindow content correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 16:49:12 GMT</pubDate>
    <dc:creator>MarkAnstaett</dc:creator>
    <dc:date>2011-05-13T16:49:12Z</dc:date>
    <item>
      <title>Identify 2.3.1 1st-call problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375349#M10745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the Identify Widget version 2.3.1 in a stock Flexviewer 2.3.1 and having a problem with the first Identify call- it is configured to a single dynamic Mapservice with a few Fields set.&amp;nbsp; The first execution of Identify returns a result to the widget's Result state, then when I mouseover it the InfoPopupWidget opens to the feature but with only the Title, no Content displayed.&amp;nbsp; Subsequent Identify's work correctly (the mouseOver of a result opens the InfoPopupWidget with the field-values Content correct).&amp;nbsp; In FlashBuilder it appears that the InfoPopupWidget.mxml is running its creationCompleteHandler() on this 1st Identify execution which calls dataChangeHandler(null) but not firing the DATA_CHANGE event.&amp;nbsp; The subsequent Identify runs do fire DATA_CHANGE and the dataChangeHandler() has data != null, then correctly fills in the infoWindow with data.content. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Have other users seen this problem, and is there a workaround to make 1st Identify fill the popup map.infoWindow content correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 16:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375349#M10745</guid>
      <dc:creator>MarkAnstaett</dc:creator>
      <dc:date>2011-05-13T16:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Identify 2.3.1 1st-call problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375350#M10746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I can not duplicate that on the my live sample page... The bigest thing is that the 2.3.1 version of this widget does not even use the InfoPopupWidget.mxml at all... It uses the new 2.3.1 API's PopUpInfo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 22:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375350#M10746</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-21T22:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Identify 2.3.1 1st-call problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375351#M10747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem with infopopupwindows for view youtubevideo! if I use ESRI API 2.3.1 and SDK 4.1 there is the problem, but if i use ESRI API 2.2 i do not have problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first click on item generate infopopupwindows empty if i click another item the infopopup is correctly popolate...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The probability part of error code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var infoWindowRenderer:ClassFactory = new ClassFactory();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var infoWindowContent:DisplayObject;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if (event.currentTarget != null)&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; var recreate:Boolean = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var graphic:Graphic = Graphic(event.currentTarget);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (map.infoWindow.content != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recreate = !((graphic.attributes.type == SocialMediaType.Flickr &amp;amp;&amp;amp; (map.infoWindow.content is Flickr_InfoWindowRenderer)) ||(graphic.attributes.type == SocialMediaType.YouTube &amp;amp;&amp;amp; (map.infoWindow.content is YouTube_InfoWindowRenderer)));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; if (recreate) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; if (graphic.attributes.type == SocialMediaType.Flickr) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; infoWindowRenderer = new ClassFactory(Flickr_InfoWindowRenderer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; else if (graphic.attributes.type == SocialMediaType.YouTube) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; infoWindowRenderer = new ClassFactory(YouTube_InfoWindowRenderer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindowContent = infoWindowRenderer.newInstance();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; map.infoWindow.content = infoWindowContent as UIComponent;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; map.infoWindow.closeButtonVisible = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.data = graphic.attributes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.label = graphic.attributes.title;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.show(map.toMapFromStage(event.stageX, event.stageY));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a solution? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 14:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/identify-2-3-1-1st-call-problem/m-p/375351#M10747</guid>
      <dc:creator>MicheleFocareta</dc:creator>
      <dc:date>2011-08-04T14:58:40Z</dc:date>
    </item>
  </channel>
</rss>

