<?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: Blank Map in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60183#M1380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keith, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you need a crossdomain.xml added to the inetput\wwwroot folder? Maybe?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 18:39:17 GMT</pubDate>
    <dc:creator>KomanDiabate</dc:creator>
    <dc:date>2014-02-04T18:39:17Z</dc:date>
    <item>
      <title>Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60177#M1374</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;BR /&gt;&lt;SPAN&gt;I am brand new to Flex development. I have attempted to run multiple of the samples from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/flex/sample-code/using-samples.htm" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/flex/sample-code/using-samples.htm&lt;/A&gt;&lt;SPAN&gt; but every time I end up with a blank map with the esri logo in the bottom right corner and the +/- zoom buttons in the top left corner. Does anyone have any advice on what I can do to find out what is going on? Here is my source for one of the most basic samples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" &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; xmlns:esri="http://www.esri.com/2008/ags" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageTitle="Example - ArcGIS API for Flex connecting to a dynamic ArcGIS map service"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map&amp;gt; &amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer &amp;nbsp;&amp;nbsp; url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer"/&amp;gt;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Application&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60177#M1374</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2014-02-03T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60178#M1375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using chrome? This maybe a chrome issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First: try your site with different browser for example: Internet Explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Second: If its a chrome issue, check this link: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.timo-ernst.net/2010/04/chrome-flash-debugger-not-connecting-to-flexflash-builder/"&gt;http://www.timo-ernst.net/2010/04/chrome-flash-debugger-not-connecting-to-flexflash-builder/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have experience blank maps before this was the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 21:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60178#M1375</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2014-02-03T21:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60179#M1376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. I am using I.E. 9. Unfortunately, I do not have another browser available on this machine and do not have access to install another one. I altered the code a little bit to see if an error is being thrown when the layer is added, but had no luck. Here's the code I changed. I added a button and load the layer in the button click so I could surround it with a try/catch. I was hoping to see an error message but instead I see "Layer Added." yet the map is still blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&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; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageTitle="Example - ArcGIS API for Flex connecting to a dynamic ArcGIS map service"&amp;gt;
 
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import mx.controls.*;
&amp;nbsp;&amp;nbsp; import com.esri.ags.layers.*;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function button1_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; try
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var layer:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(layer, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Layer Added.");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(e:Error)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(e.toString());
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 
 
 &amp;lt;esri:Map id="map" x="378" y="81" width="1002" height="590"&amp;gt;
&amp;nbsp; &amp;lt;!--&amp;lt;esri:ArcGISDynamicMapServiceLayer
&amp;nbsp;&amp;nbsp; url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer"/&amp;gt;--&amp;gt;
 &amp;lt;/esri:Map&amp;gt;
 &amp;lt;s:Button x="133" y="169" label="Button" click="button1_clickHandler(event)"/&amp;gt;
 
&amp;lt;/s:Application&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60179#M1376</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2021-12-10T22:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60180#M1377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I used your code and I ended up with a blank map, I think your button click logic is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set the map&amp;nbsp; visible="false" and then when you click on the button I am setting visible to true and the map loads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&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; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageTitle="Example - ArcGIS API for Flex connecting to a dynamic ArcGIS map service"&amp;gt;
 
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import mx.controls.*;
&amp;nbsp;&amp;nbsp; import com.esri.ags.layers.*;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function button1_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; try
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* var layer:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(layer, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Layer Added."); */ 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.visible=true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Layer Added.");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(e:Error)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(e.toString());
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 
 
 &amp;lt;esri:Map id="map" x="378" y="81" width="1002" height="590" visible="false"&amp;gt;
&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer
&amp;nbsp; url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer"/&amp;gt;
 &amp;lt;/esri:Map&amp;gt;
 &amp;lt;s:Button x="133" y="169" label="Button" click="button1_clickHandler(event)"/&amp;gt;
 
&amp;lt;/s:Application&amp;gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:17:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60180#M1377</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2021-12-10T22:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60181#M1378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update. Using the code you updated, I am still seeing a blank map. It appears to me that the problem is something outside the scope of the code, meaning either something isn't installed or something is being blocked, etc. I am not sure where to begin investigating this. This is my first time working with Flex or Flash Builder. Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60181#M1378</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2014-02-04T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60182#M1379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Keith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually went back and look at your code again, its working on my end here and this is not a code issue, sorry. I am using explorer, I think something else is going on.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60182#M1379</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2014-02-04T15:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60183#M1380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keith, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you need a crossdomain.xml added to the inetput\wwwroot folder? Maybe?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 18:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60183#M1380</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2014-02-04T18:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60184#M1381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I definitely boiled it down to some sort of environment problem. I went home last night and downloaded the trial version of Flash Builder, download the ArcGIS Flex swc file and ran the sample. Everything worked, so there is something going on with this development machine. I am going to ask the admins to reinstall flash builder and see if that resolves the issue. If it doesn't, I have no idea what else to look for because I am not receiving and sort of error message, just a blank map. Thanks for all your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 12:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60184#M1381</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2014-02-05T12:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60185#M1382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well im using some examples from that page too and using chrome and i.e at same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the map in chrome loads so slow and u have to refresh the page 1 or 2 times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For i.e it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the first time when i put a example in the machine that im developing i had to change the chrome:plugins &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adobe Flash Player (2 files) - Versión: 12.0.0.44 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 shockwave flash files to unable and able again and well how i told u before, now chrome loads the map but i have to wait &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;several minutes for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it works for u &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60185#M1382</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2014-02-05T15:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60186#M1383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out the problem. The development machine I am working has Adobe Flash Builder 4.5 installed which, by default, installs Adobe Flex SDKs 3.6, 4.5 and 4.5.1. I had to download Adobe Flex SDK 4.6 and use it. Now everything is working..... Newbie mistake :mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 14:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/blank-map/m-p/60186#M1383</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2014-02-06T14:56:07Z</dc:date>
    </item>
  </channel>
</rss>

