<?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: Viewer 3.1 - Zoom issues in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164231#M5287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Rhett,&lt;BR /&gt;&lt;BR /&gt;Adding that line of code with the code Robert provided worked. Thanks!&lt;BR /&gt;&lt;BR /&gt;Ashley&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added the part that he forgot to.&amp;nbsp; He would have got there once he realized it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, Robert is really the one that answered this question, and should get the check mark.&amp;nbsp; Besides, I'm not in the running for MVP anyway, so would be a wasted check mark on me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 18:17:57 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2013-01-31T18:17:57Z</dc:date>
    <item>
      <title>Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164225#M5281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When the map first opens in the viewer, I have to click on the map before I can zoom. I can zoom as soon as the map opens in older editions in the viewer. Is there a setting I need to change somewhere to allow for a user to zoom without clicking on the map first?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 16:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164225#M5281</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2013-01-31T16:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164226#M5282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ashley,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That would involve adding this block to the index.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[&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; protected function init():void
&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; navigateToURL(new URLRequest("javascript: document.getElementById('index').focus();"), "_self");
&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;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Script&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:36:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164226#M5282</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T08:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164227#M5283</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;Thanks for the quick reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried adding that code into the index.mxml but it didn't resolve the issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 17:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164227#M5283</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2013-01-31T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164228#M5284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Easiest way is to use Google Chrome, as this is the default &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just making that change did not do it for IE8, I also had to modify the &amp;lt;s:Application tag&amp;gt; as such:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&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; xmlns:s="library://ns.adobe.com/flex/spark"
&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; xmlns:viewer="com.esri.viewer.*"
&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; xmlns:managers="com.esri.viewer.managers.*"
&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; pageTitle="ArcGIS Viewer for Flex"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; creationComplete="init()"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if crationComplete is the right call to make there, but it is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164228#M5284</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-12T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164229#M5285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rhett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding that line of code with the code Robert provided worked. Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashley&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 17:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164229#M5285</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2013-01-31T17:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164230#M5286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ashley,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Rhett is absolutely right I forgot to add that to my original post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 18:00:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164230#M5286</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-31T18:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164231#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Rhett,&lt;BR /&gt;&lt;BR /&gt;Adding that line of code with the code Robert provided worked. Thanks!&lt;BR /&gt;&lt;BR /&gt;Ashley&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added the part that he forgot to.&amp;nbsp; He would have got there once he realized it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, Robert is really the one that answered this question, and should get the check mark.&amp;nbsp; Besides, I'm not in the running for MVP anyway, so would be a wasted check mark on me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 18:17:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164231#M5287</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-31T18:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164232#M5288</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;the creationComplete="init()" works just fine, but I see that so does initialize="init()". (initialize "looks" more correct in this case)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At first wasn't sure what to use as normally I see creationComplete in like a widget or something that actually gets "created", but it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, curious if there is a "more correct" method, or does it not really matter how you call the init() function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 18:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164232#M5288</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-01-31T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Viewer 3.1 - Zoom issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164233#M5289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rhett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have always used CreationComplete for this as I don't believe that it matters (in this case) if the javascript getts called before all the children of the index.mxml get created or after (which is where CreationComplete is called).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 19:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/viewer-3-1-zoom-issues/m-p/164233#M5289</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-01-31T19:23:39Z</dc:date>
    </item>
  </channel>
</rss>

