<?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 Flex api 3 Implicit coercion of a value with static type in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122320#M2927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to use the Routing widget in flexviewer 3.0 prerelease and keep having the same errors pop up in the RouteWidget.mxml file. [ATTACH=CONFIG]14973[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The above image shows what I see in flash builder.&amp;nbsp; The widget will display when the application is built, but when I select a location on the map for geocoding, I get this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ReferenceError: Error #1065: Variable com.esri.ags.utils::JSON is not defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tasks::Locator/locationToAddress()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at widgets.Route::RouteWidget/AddRouteClick()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.viewer.managers::MapManager/drawEndHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/map_clickFirstHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/dispatchMapMouseEvent()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/mouseUpHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to take the compiled widget and plug it into flexviewer 2.5 so I believe this to be a change between flex 2.5 and 3.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight on this will be much appreciated.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 14:52:44 GMT</pubDate>
    <dc:creator>brianwilson1</dc:creator>
    <dc:date>2012-06-06T14:52:44Z</dc:date>
    <item>
      <title>Flex api 3 Implicit coercion of a value with static type</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122320#M2927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to use the Routing widget in flexviewer 3.0 prerelease and keep having the same errors pop up in the RouteWidget.mxml file. [ATTACH=CONFIG]14973[/ATTACH] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The above image shows what I see in flash builder.&amp;nbsp; The widget will display when the application is built, but when I select a location on the map for geocoding, I get this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ReferenceError: Error #1065: Variable com.esri.ags.utils::JSON is not defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tasks::Locator/locationToAddress()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at widgets.Route::RouteWidget/AddRouteClick()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.viewer.managers::MapManager/drawEndHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/map_clickFirstHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/dispatchMapMouseEvent()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags::Map/mouseUpHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to take the compiled widget and plug it into flexviewer 2.5 so I believe this to be a change between flex 2.5 and 3.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight on this will be much appreciated.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 14:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122320#M2927</guid>
      <dc:creator>brianwilson1</dc:creator>
      <dc:date>2012-06-06T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Flex api 3 Implicit coercion of a value with static type</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122321#M2928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; This is the Flex API forum and you should post Flex Viewer and or widget questions to the Flex Viewer forum.&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;As far as my Route Widget. It will be Flex Viewer 3.0 compatible when the Flex API and Viewer are finalized (Currently they are only in pre-release. I have been doing holistic testing with the API team and can say there are several changes from 2.5 to 3.0 final and you should not waste your time attempting to update this widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All my widgets will be 3.0 compatible when 3.0 is final.&lt;/SPAN&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;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&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>Wed, 06 Jun 2012 15:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122321#M2928</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-06T15:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flex api 3 Implicit coercion of a value with static type</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122322#M2929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, I look forward to being able to use this widget in my viewer. Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 15:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-3-implicit-coercion-of-a-value-with/m-p/122322#M2929</guid>
      <dc:creator>brianwilson1</dc:creator>
      <dc:date>2012-06-06T15:30:02Z</dc:date>
    </item>
  </channel>
</rss>

