<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flash Map: A blog about interactive maps</title>
	<atom:link href="http://www.flashmap.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashmap.org</link>
	<description></description>
	<lastBuildDate>Thu, 26 Apr 2012 03:39:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Flash World Map Update</title>
		<link>http://www.flashmap.org/flash-world-map-update/</link>
		<comments>http://www.flashmap.org/flash-world-map-update/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 03:30:03 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=267</guid>
		<description><![CDATA[We just released version 1.3 of our flash world map.  If you have purchased an older version of the map please feel free to contact us for a complimentary upgrade.  The major changes are the addition of South Sudan and &#8230; <a href="http://www.flashmap.org/flash-world-map-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We just released version 1.3 of our <a href="http://www.flashworldmap.com">flash world map</a>.  If you have purchased an older version of the map please feel free to <a href="http://www.flashworldmap.com/contactus.php">contact us</a> for a complimentary upgrade.  The major changes are the addition of South Sudan and an improvement in the accuracy of our latitude/longitude location markers.  <a href="http://en.wikipedia.org/wiki/South_Sudan">South Sudan</a> became an independent state last summer.  While fighting between South Sudan and Sudan continues to this day we felt it best to update the map to reflect the most current political boundaries.</p>
<p>The accuracy of latitude and longitude markers has improved significantly in this version. In the previous version, the accuracy of latitude and longitude markers got progressively worse as you moved away from the equator.  This version corrects for that bias.  You can see the improvement in the following screenshots:</p>
<div id="attachment_268" class="wp-caption aligncenter" style="width: 641px"><a href="http://www.flashmap.org/wp-content/uploads/2012/04/1.2.jpg"><img class="size-full wp-image-268" title="1.2" src="http://www.flashmap.org/wp-content/uploads/2012/04/1.2.jpg" alt="" width="631" height="399" /></a><p class="wp-caption-text">Old version (1.2)...Notice how Stockholm is inland.</p></div>
<div id="attachment_269" class="wp-caption aligncenter" style="width: 638px"><a href="http://www.flashmap.org/wp-content/uploads/2012/04/1.3.jpg"><img class="size-full wp-image-269" title="1.3" src="http://www.flashmap.org/wp-content/uploads/2012/04/1.3.jpg" alt="" width="628" height="398" /></a><p class="wp-caption-text">New version (1.3)...Stockholm is in the correct place.</p></div>
<p>In the previous version, Stockholm is clearly too far inland.  The bias also existed, but was less severe, for other cities like London that were not as far away from the equator. If you find any errors in our maps, please contact us so that they can can correct them in future updates. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/flash-world-map-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rare Bug: SWF can&#8217;t load XML because of Mod_Deflate</title>
		<link>http://www.flashmap.org/rare-bug-swf-cant-load-xml-because-of-mod_deflate/</link>
		<comments>http://www.flashmap.org/rare-bug-swf-cant-load-xml-because-of-mod_deflate/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 22:06:10 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=253</guid>
		<description><![CDATA[I recently had a customer complain that our FlashUSAmap was not working on their server.  The usmap.swf file was in the same directory as the map.xml file, but the xml file was not loading properly.  After much frustration, the customer &#8230; <a href="http://www.flashmap.org/rare-bug-swf-cant-load-xml-because-of-mod_deflate/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently had a customer complain that our FlashUSAmap was not working on their server.  The usmap.swf file was in the same directory as the map.xml file, but the xml file was not loading properly.  After much frustration, the customer found the source of the bug.  Apache&#8217;s Mod_Deflate was compressing the Flash file and preventing it from working properly.  This issue only affects servers that have Mod_Deflate enabled.  If you are having trouble with your map and need help please <a href="http://www.flashusamap.com/contactus.php" target="_blank">contact us for assistance</a>.  However, to help anyone who might face a similar issue, <strong>Joe Shelton</strong>, of Creative Arc (<a href="http://www.creativearc.com/" target="_blank">www.creativearc.com</a>), was kind enough to describe the issue and the solution to this problem in greater detail.  I am very thankful for his following explanation:</p>
<hr />Mod_Deflate is a great bandwidth saving tool that compresses the files<br />
served by Apache.  But, it continues to cause problems for browsers<br />
when dealing with more complex data types, like Flash files.  <a href="http://www.philchen.com/2009/08/04/apache-mod_deflate-and-flash-swf-files-dont-like-each-other" target="_blank">Phil<br />
Chen first documented this</a> in 2009 with older versions of Firefox and<br />
IE. Since then, the problem has been fixed in those browsers, but<br />
re-emerged in Chrome 16.</p>
<p>Phil offers the following Apache configuration code to fix the issue<br />
by excluding file types and browsers known to have issues.</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;Location&gt;</div></div>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># Insert filter<br />
<br />
SetOutputFilter DEFLATE<br />
<br />
# Netscape 4.x has some problems…<br />
<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html<br />
<br />
# Netscape 4.06-4.08 have some more problems</div></div>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BrowserMatch ^Mozilla/4\.0[678] no-gzip</div></div>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># MSIE masquerades as Netscape, but it is fine</div></div>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:100px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br />
<br />
# Don’t compress images and other uncompressible content<br />
<br />
SetEnvIfNoCase Request_URI \<br />
<br />
\.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|swf|mp?g)$ no-gzip<br />
dont-vary<br />
<br />
# Make sure proxies don’t deliver the wrong content<br />
<br />
Header append Vary User-Agent env=!dont-vary</div></div>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;/Location&gt;</div></div>
<p>However, the <a href="http://httpd.apache.org/docs/2.0/mod/mod_deflate.html" target="_blank">Mod_Deflate documentation</a> itself suggests a Sample<br />
Configuration that may be preferable.</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AddOutputFilterByType DEFLATE text/html text/plain text/xml</div></div>
<p>This opt-in scheme will only target the content types you specify.<br />
You get the most compression bang-for-your-buck by compressing<br />
uncompiled code files, like (X)HTML, CSS, and JavaScript.  So, add<br />
those content types to the rule, as well, along with any other simple<br />
types of data your server commonly transfers.</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css<br />
text/javascript text/csv</div></div>
<p>Browsers change, and new file types emerge.  The opt-in method<br />
protects you from these changes.  It probably garners less bandwidth<br />
savings than the opt-out method, but also fewer support issues from<br />
clients, when their Flash toys end up broken on the odd browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/rare-bug-swf-cant-load-xml-because-of-mod_deflate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Europe Map</title>
		<link>http://www.flashmap.org/flash-europe-map/</link>
		<comments>http://www.flashmap.org/flash-europe-map/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 05:40:36 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=239</guid>
		<description><![CDATA[We have just introduced a new interactive map: a Flash Europe Map. This map offers all the features of our flash world map, but is smaller in size and focuses on Europe (there is no zoom feature with this map). It &#8230; <a href="http://www.flashmap.org/flash-europe-map/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We have just introduced a new interactive map: a <a href="http://www.flashworldmap.com/europe.php">Flash Europe Map</a>.  This map offers all the features of our flash world map, but is smaller in size and focuses on Europe (there is no zoom feature with this map).  It includes latitude and longitude markers, pop-ups on hover, fully customizable colors, countries act as links, and many more features.  It is designed to be used on websites and is compatible with WordPress, Joomla, Drupal, GoDaddy Website Tonight, Weebly and many other content management systems and hosts.  Here is an example of our map:<br />
(See how we embedded this interactive map in WordPress <a href="http://www.flashmap.org/add-an-interactive-map-to-your-wordpress-blog/">here</a>)</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_europemap_835980752"
			class="flashmovie"
			width="550"
			height="349">
	<param name="movie" value="http://www.flashmap.org/europe/europemap.swf" />
	<param name="flashvars" value="xmlPath=http://www.flashmap.org/europe/mapdata.xml" />
	<param name="play" value="true" />
	<param name="quality" value="best" />
	<param name="wmode" value="transparent" />
	<param name="allowfullscreen" value="false" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashmap.org/europe/europemap.swf"
			name="fm_europemap_835980752"
			width="550"
			height="349">
		<param name="flashvars" value="xmlPath=http://www.flashmap.org/europe/mapdata.xml" />
		<param name="play" value="true" />
		<param name="quality" value="best" />
		<param name="wmode" value="transparent" />
		<param name="allowfullscreen" value="false" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>You can buy this beautiful interactive europe map for only $99.  You can learn more about the map by visiting:  <a href="http://www.flashworldmap.com/europe.php">http://www.flashworldmap.com/europe.php</a>.  We are considering adding similar maps for continents such as the Middle East, South America, Oceania and Asia.  If you would be interested in one of these maps or something else all together, please <a href="http://flashmap.org/about/">contact us</a> and let us know.  We do our best to add new products to meet customer demand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/flash-europe-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive Flash Congressional District Map</title>
		<link>http://www.flashmap.org/interactive-flash-congressional-district-map/</link>
		<comments>http://www.flashmap.org/interactive-flash-congressional-district-map/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 06:21:31 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=187</guid>
		<description><![CDATA[Our latest product is a Flash Congressional District Map.  It contains all 435 current Congressional districts in the United States House of Representatives.  It is perfect for displaying election information in an interactive format.  It uses the base code of &#8230; <a href="http://www.flashmap.org/interactive-flash-congressional-district-map/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Our latest product is a Flash Congressional District Map.  It contains all 435 current Congressional districts in the United States House of Representatives.  It is perfect for displaying election information in an interactive format.  It uses the base code of our US Flash map and has all of the the standard bells and whistles.  In addition, it includes a zoom feature that allows you examine the smallest of Congressional districts (think New York City).  This map was very time consuming to create and we&#8217;re selling it for $150.  You can see a <a href="http://www.flashusamap.com/congress.php">live demo and purchase the map here</a>.</p>
<p style="text-align: center;"><a href="http://www.flashusamap.com/congress.php"><img class="aligncenter size-full wp-image-188" title="congress" src="http://www.flashmap.org/wp-content/uploads/2011/03/congress.png" alt="" width="700" height="406" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/interactive-flash-congressional-district-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happiness and Suicide Rates by State</title>
		<link>http://www.flashmap.org/suicide-rates-by-state/</link>
		<comments>http://www.flashmap.org/suicide-rates-by-state/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 17:59:17 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=154</guid>
		<description><![CDATA[Updated &#8211; 3-7-2011 A few days ago I posted about suicide rates.  Then, I came across this article talking about the happiest states.   I decided to visualize the happiness data so you could compare and contrast it against the suicide &#8230; <a href="http://www.flashmap.org/suicide-rates-by-state/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></p>
<h3><a href="http://www.flashmap.org/wp-content/uploads/2011/03/key1.png"></a>Updated &#8211; 3-7-2011</h3>
<p>A few days ago I posted about suicide rates.  Then, I came across <a href="http://www.livescience.com/13107-happiest-states-2010-list.html">this article</a> talking about the happiest states.   I decided to visualize the happiness data so you could compare and contrast it against the suicide rates.  Interestingly, some states, like Wyoming and Alaska have both high suicide rates and very high rates of happiness.  Happiness rankings were based on the following measures:  life evaluation, emotional health, work environment, physical healthy; healthy behavior, and basic access. Both maps were made in minutes using this <a href="http://www.flashusamap.com/statistics.php">free state statistics software</a>.</p>
<h3>Happiness by State</h3>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_usmap_flex_1521845293"
			class="flashmovie"
			width="500"
			height="309">
	<param name="movie" value="http://www.flashmap.org/wp-content/uploads/2010/07/usmap_flex.swf" />
	<param name="flashvars" value="url=http://www.flashmap.org/mapdata/happy.xml" />
	<param name="play" value="true" />
	<param name="quality" value="best" />
	<param name="wmode" value="transparent" />
	<param name="allowfullscreen" value="false" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashmap.org/wp-content/uploads/2010/07/usmap_flex.swf"
			name="fm_usmap_flex_1521845293"
			width="500"
			height="309">
		<param name="flashvars" value="url=http://www.flashmap.org/mapdata/happy.xml" />
		<param name="play" value="true" />
		<param name="quality" value="best" />
		<param name="wmode" value="transparent" />
		<param name="allowfullscreen" value="false" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.flashmap.org/wp-content/uploads/2011/03/happy.png"><img class="size-full wp-image-193 alignleft" title="happy" src="http://www.flashmap.org/wp-content/uploads/2011/03/happy.png" alt="" width="521" height="59" /></a></p>
<h3>Suicide Rate by State</h3>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_usmap_flex_1895500939"
			class="flashmovie"
			width="500"
			height="309">
	<param name="movie" value="http://www.flashmap.org/wp-content/uploads/2010/07/usmap_flex.swf" />
	<param name="flashvars" value="url=http://www.flashmap.org/mapdata/suicide.xml" />
	<param name="play" value="true" />
	<param name="quality" value="best" />
	<param name="wmode" value="transparent" />
	<param name="allowfullscreen" value="false" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.flashmap.org/wp-content/uploads/2010/07/usmap_flex.swf"
			name="fm_usmap_flex_1895500939"
			width="500"
			height="309">
		<param name="flashvars" value="url=http://www.flashmap.org/mapdata/suicide.xml" />
		<param name="play" value="true" />
		<param name="quality" value="best" />
		<param name="wmode" value="transparent" />
		<param name="allowfullscreen" value="false" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.flashmap.org/wp-content/uploads/2011/03/key1.png"><img title="key" src="http://www.flashmap.org/wp-content/uploads/2011/03/key1.png" alt="" width="515" height="63" /></a></p>
<p>The rate is per 100,000 (2006)</p>
<p><em>&#8212;&#8212;&#8212;-Original Post on Suicide Rates<em>&#8212;&#8212;&#8212;</em></em></p>
<p>The other day I was talking to a colleague who was considering taking a job in Seattle, Washington.  However, he was hesitant to take a job in place with so much rain.  This led to a debate about the relationship between weather, depression, and suicide.  This isn&#8217;t a topic to be taken lightly, but there are some interesting relationships when you map the suicide rates of different states.</p>
<p>Data comes from the <a href="http://www.afsp.org/index.cfm?fuseaction=home.viewPage&amp;page_id=05114FBE-E445-7831-F0C1494E2FADB8EA">American Foundation for Suicide Prevention</a>.  It is interesting how suicide rates are higher in the West.  Might this have something to do with more lax gun control policies that make suicide attempts more likely to succeed?  I don&#8217;t have any agenda here, but feel that state visualizations like these are important tools to better understand national trends on serious issues like suicide.  If you would like help adding a map like this to your site, please <a href="http://www.flashusamap.com/contactus.php">contact us</a>.</p>
<h3>Addendum &#8211; 4/10/2011</h3>
<p>If you are interested in this topic you should check out the work done by economists Daly, Oswald, Wilson and Wu on <a href="http://www.frbsf.org/publications/economics/papers/2010/wp10-30bk.pdf">The Happiness-Suicide Paradox</a> (forthcoming Journal of Economic Behavior and Organization).  They find a spatial relationship between suicide and happiness after accounting for individual characteristics like race, income, education and more.  They&#8217;re not suggesting that happier people are more likely to take their own lives. Rather, that &#8220;personal unhappiness may be at its worst when surrounded by those who are relatively more content with their lives.&#8221;  In other words, cheerful people impose <a href="http://en.wikipedia.org/wiki/Externality#Negative">negative externalities</a> on discontent people.  Definitely, a thought provoking theory worthy of further exploration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/suicide-rates-by-state/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Flash Map in GoDaddy&#8217;s Website Tonight</title>
		<link>http://www.flashmap.org/flash-map-in-godaddys-website-tonight/</link>
		<comments>http://www.flashmap.org/flash-map-in-godaddys-website-tonight/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 04:28:41 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=144</guid>
		<description><![CDATA[Occasionally I get requests for help on how to install our flash maps on GoDaddy&#8217;s Website Tonight.  I don&#8217;t use this service so it has always been difficult to help.  However, a user kindly wrote up instructions on how to install &#8230; <a href="http://www.flashmap.org/flash-map-in-godaddys-website-tonight/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Occasionally I get requests for help on how to install our flash maps on GoDaddy&#8217;s Website Tonight.  I don&#8217;t use this service so it has always been difficult to help.  However, a user kindly wrote up instructions on how to install a flash map on a Website Tonight site. This tutorial will work with our <a href="http://www.flashusamap.com/trial.php">free flash us map</a>.   The procedure is as follows (click on screenshots to enlarge):</p>
<p><em>Note:  Replace instances of yourdomain.com with the domain of your site.</em></p>
<ol>
<li>Go to your main “quick navigation panel”. This is the panel where you select your pages to design.</li>
<li>Click on upload files.
<p><div id="attachment_145" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.flashmap.org/wp-content/uploads/2010/12/first.jpg"><img class="size-medium wp-image-145" title="Click the Upload Button" src="http://www.flashmap.org/wp-content/uploads/2010/12/first-300x173.jpg" alt="Click the Upload Button" width="300" height="173" /></a><p class="wp-caption-text">Step 2</p></div></li>
<li>This will take you to the upload files page.</li>
<li>Check the “place images in folder” box.</li>
<li>Click browse and find the location where you downloaded the map.xml and usmap.swf files; select both of these and click upload.
<p><div id="attachment_146" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.flashmap.org/wp-content/uploads/2010/12/second.jpg"><img class="size-medium wp-image-146" title="After your files are uploaded" src="http://www.flashmap.org/wp-content/uploads/2010/12/second-300x181.jpg" alt="After your files are uploaded" width="300" height="181" /></a><p class="wp-caption-text">After you have uploaded your files</p></div></li>
<li>Your files will appear at the bottom of the page. Click each one to test that the map and the xml code appears.</li>
<li>Republish your site.</li>
<li>Go to http://www.yourdomain.com/uploads/usmap.swf.  Your map should appear.</li>
<li>Go to the web page where you want insert the map. Click on “insert” and “block”, then “insert” then “script”. Copy the installation script found in the installation guide PDF.</li>
<li>Replace usmap.swf?xmlPath=map.xml with http://www.yourdomain.com/uploads/usmap.swf?xmlPath=http://www.yourdomain.com/uploads/map.xml</li>
<li>Your map will only show a script box in design mode; until you view pages or publish.
<p><div id="attachment_147" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.flashmap.org/wp-content/uploads/2010/12/flash-map-godaddy.jpg"><img class="size-medium wp-image-147" title="flash-map-godaddy" src="http://www.flashmap.org/wp-content/uploads/2010/12/flash-map-godaddy-300x189.jpg" alt="" width="300" height="189" /></a><p class="wp-caption-text">Finished map!  Don&#39;t forget to publish.</p></div></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/flash-map-in-godaddys-website-tonight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add an Interactive Map to your WordPress Blog</title>
		<link>http://www.flashmap.org/add-an-interactive-map-to-your-wordpress-blog/</link>
		<comments>http://www.flashmap.org/add-an-interactive-map-to-your-wordpress-blog/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 01:05:49 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=120</guid>
		<description><![CDATA[One of the most common questions I get is whether it is possible to add an interactive Flash map to a WordPress blog.  Yes, it is possible.  In fact, this blog is powered by WordPress and you can see an &#8230; <a href="http://www.flashmap.org/add-an-interactive-map-to-your-wordpress-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the most common questions I get is whether it is possible to add an interactive Flash map to a WordPress blog.  Yes, it is possible.  In fact, this blog is powered by WordPress and you can see an <a href="http://www.flashmap.org/facebook-use-by-state/">example of an embedded map</a> here.   But, it&#8217;s more difficult than you would expect because WordPress does a lot of url rewriting behind the scenes that messes everything up.  You can read more about this at the end of the post.  First, I&#8217;d like to explain how to embed a map in WordPress.  These directions will work with the free version of either the <a href="http://www.flashusamap.com/trial.php">us flash map</a> or the <a href="http://www.flashworldmap.com/trial.php">world flash map</a>.  After you have customized your map and uploaded the necessary files to your server you&#8217;re ready to go.</p>
<p><strong>1.  To embed a map in a post or page.</strong> <span style="color: #000000;">The easiest way to do this is to use the plugin <a href="http://kimili.com/plugins/kml_flashembed/wp">Kimili Flash Embed</a>.  After you have activated the plugin, you will see a little flash icon appear in your toolbar when you are writing a post.</span></p>
<p><span style="color: #000000;"><a href="http://www.flashmap.org/wp-content/uploads/2010/10/step1.jpg"><img class="aligncenter size-full wp-image-125" title="step1" src="http://www.flashmap.org/wp-content/uploads/2010/10/step1.jpg" alt="" width="538" height="410" /></a></span></p>
<p style="text-align: left;">Clicking on this icon will allow you to embed your map.  You need to edit the following fields:</p>
<ol>
<li><strong>Width and Height:</strong> 500 X 309 for a U.S. map and 550 X 349 for a world map.</li>
<li><strong>Flash (.swf):</strong> This is the location of the .swf file that you uploaded.  For example: http://www.flashmap.org/wp-content/uploads/2010/10/usmap.swf</li>
<li><strong>fvars: </strong>This tells the .swf where to find the XML file.  It should be &#8220;xmlPath=&#8221; followed by the location of the xml file.  For example for the US map this might be: xmlPath=http://www.flashmap.org/wp-content/uploads/2010/10/map.xml (Note: xmlPath is the name of the Flash Variable for the current versions of both the US and world maps).</li>
</ol>
<p><a href="http://www.flashmap.org/wp-content/uploads/2010/10/step2.jpg"><img class="aligncenter size-full wp-image-126" title="step2" src="http://www.flashmap.org/wp-content/uploads/2010/10/step2.jpg" alt="" width="674" height="634" /></a></p>
<p>That&#8217;s it!  Your map should be working.</p>
<p>2.  <strong>Add the map to a theme file</strong>.  If you want to add the map to a theme file you need to use a different approach.   For example, say you want to put a map on the homepage.  You need to edit index.php and insert the code from the documentation making two small changes:</p>
<ol>
<li>Replace the relative url of the .swf file with the  absolute url for the .swf file. For example, http://www.flashmap.org/wp-content/uploads/2010/10/usmap.swf instead of usmap.swf.</li>
<li>Add ?xmlPath= to the end of the .swf url.  Then paste in the absolute url of the xml file.</li>
</ol>
<p>An example of what the code should look like is as follows:</p>
<p><a href="http://www.flashmap.org/wp-content/uploads/2010/10/step3.jpeg"><img class="aligncenter size-full wp-image-137" title="step3" src="http://www.flashmap.org/wp-content/uploads/2010/10/step3.jpeg" alt="" width="586" height="413" /></a></p>
<p>And in a form that you can copy/paste:</p>
<div class="codecolorer-container html4strict blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a> <span style="color: #000066;">classid</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;550&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;340&quot;</span> <span style="color: #000066;">codebase</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowScriptAccess&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sameDomain&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowFullScreen&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wmode&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;quality&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;src&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.flashmap.org/wp-content/uploads/2010/10/usmap.swf?xmlPath= http://www.flashmap.org/wp-content/uploads/2010/10/map.xml&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;allowfullscreen&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;embed <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;550&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;340&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.flashmap.org/wp-content/uploads/2010/10/usmap.swf?xmlPath= http://www.flashmap.org/wp-content/uploads/2010/10/map.xml&quot;</span> quality<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;high&quot;</span> wmode<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;transparent&quot;</span> allowfullscreen<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> allowscriptaccess<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sameDomain&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>embed&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a>&gt;</span></div></div>
<p>That&#8217;s it! Your map should now show up in your theme.</p>
<p><strong>Why is this so difficult? </strong>Because, WordPress  is a content management system (CMS). When you write a new post it automatically creates a new webpage on your site.  This is really convenient, because you don&#8217;t have to mess HTML or uploading a new web page to your server.  However, what many people don&#8217;t realize is that the pages on your blog don&#8217;t actually exist. If you create a post called &#8220;dogs&#8221; there is no file called dogs.html on your server.  Instead, when some goes to http://www.yoursite.com/dogs your server directs them to a template file and fills that file with information from a database.  The actual template file that is being shown exists at http://www.yousite.com/wp-content/themes/templatefile.php.  So, when you embed the map the Flash file is looking for the XML file at http://www.yoursite.com/map.xml when it should be looking elsewhere.  To fix this problem, we have to tell the Flash file exactly where to find the XML file using an absolute url.  Both of the solutions above do just that.</p>
<p>If you have any questions about the process, leave a comment or contact us for support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/add-an-interactive-map-to-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Interactive Flash Canada Map</title>
		<link>http://www.flashmap.org/interactive-flash-canada-map/</link>
		<comments>http://www.flashmap.org/interactive-flash-canada-map/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 06:07:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=112</guid>
		<description><![CDATA[One of the common requests we&#8217;ve received at FlashUSAmap.com is for a map of Canada.  I&#8217;m happy to announce that we&#8217;ve just released just such a map.  The Interactive Flash Canada Map includes all 13 provinces.   It is built with &#8230; <a href="http://www.flashmap.org/interactive-flash-canada-map/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the common requests we&#8217;ve received at FlashUSAmap.com is for a map of Canada.  I&#8217;m happy to announce that we&#8217;ve just released just such a map.  The <a href="http://www.flashusamap.com/canada.php">Interactive Flash Canada Map</a> includes all 13 provinces.   It is built with the same code used on our <a href="http://www.flashusamap.com">flash us map</a>.  This means it has all the features and reliability of our flagship product.  Below is a screenshot of our new map:</p>
<p style="text-align: center;"><a href="http://www.flashusamap.com/canada.php"><img class="size-full wp-image-113 aligncenter" title="canada_flash_map" src="http://www.flashmap.org/wp-content/uploads/2010/10/canada_flash_map.png" alt="Flash Canada Map" width="503" height="505" /></a></p>
<p>You may have noticed that we have changed the look and feel of the map.  We&#8217;ve changed the labels to white to make the map softer.  Also, based on feedback from customers, we&#8217;ve decided to increase the opacity of the tooltip (the background is not as transparent anymore).  This should make it easier to read text that you&#8217;ve included in the &lt;description&gt;.  These design changes will be reflected in the newest update of our USA map as well.</p>
<p>The other main difference with the Canada map is the dimensions of the country.  The United States is shaped like a wide rectangle while Canada is shaped more like a square.  By default, the map is 500px X 500px, which makes resizing nice and convenient.</p>
<p>If you&#8217;re in need of an clickable map of Canada for your website, <a href="http://www.flashusamap.com/trial/flashCAmapv1.9free.zip">download the free trial</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/interactive-flash-canada-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trick: Keeping Browsers from Caching XML</title>
		<link>http://www.flashmap.org/trick-keeping-browsers-from-caching-xml/</link>
		<comments>http://www.flashmap.org/trick-keeping-browsers-from-caching-xml/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 06:17:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=96</guid>
		<description><![CDATA[This summer I created a cool implementation of our flash us map.  I created an automatically updating state intensity map for unemployment rates.  You can check it out here.  It is based on the php code that powers this tool and the FRED &#8230; <a href="http://www.flashmap.org/trick-keeping-browsers-from-caching-xml/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This summer I created a cool implementation of our <a href="http://www.flashusamap.com">flash us map</a>.  I created an automatically updating state intensity map for unemployment rates.  You can check it out <a href="http://unemployment.aspiringeconomist.com">here</a>.  It is based on the php code that powers <a href="http://www.flashusamap.com/statistics.php">this tool</a> and the <a href="http://api.stlouisfed.org/docs/fred/">FRED API</a>.  Every month, the unemployment rate in each state changes.  When that happens, the web page creates a new XML file with updated data.  This powers the new map.  However, if you&#8217;ve visited the page recently your browser will rely on a cache of the old XML file.  And, you won&#8217;t see the new data on your map.</p>
<p>What to do?  You could change the name of the XML file.  But, that can be a hassle if your data changes frequently.  I don&#8217;t want hundreds of XML files piling up.  The simple solution is simply adding a random parameter to the end of the url pointing to the xml file.  In this case, I specify the location of the XML file using FlashVars.  My code looks like this:<br />
<span style="color: #000080;"> url=map.xml</span><br />
If I want to keep browsers from caching the file I add a random parameter to the end like so:<br />
<span style="color: #000080;"> url=map.xml?1234567</span><br />
You want the random character to be something that changes all the time.  I just use a time stamp.  In php the code looks like this:<br />
<span style="color: #000080;"> url=map.xml&lt;?php $time = time(); echo &#8220;?&#8221;; echo $time; ?&gt;</span></p>
<p>How this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/trick-keeping-browsers-from-caching-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robinson Projection in AS3 GPL</title>
		<link>http://www.flashmap.org/robinson-projection-in-as3-gpl/</link>
		<comments>http://www.flashmap.org/robinson-projection-in-as3-gpl/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 05:44:49 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://www.flashmap.org/?p=85</guid>
		<description><![CDATA[One of the coolest features of our new interactive world map is that you can add location markers to the map using latitude and longitude.  And, I&#8217;m going to open source the code and show how I did this with &#8230; <a href="http://www.flashmap.org/robinson-projection-in-as3-gpl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the coolest features of our new <a href="http://www.flashworldmap.com">interactive world map</a> is that you can add location markers to the map using latitude and longitude.  And, I&#8217;m going to open source the code and show how I did this with the world so anyone can integrate it into their flash maps.</p>
<p>This was a difficult feature to implement because the world is a globe and when you project that globe onto two-dimensional space the latitude and longitude lines are not evenly spaced or perpendicular lines.  Solving the problem is particularly difficult for the Robinson Projection.  This is one of the most popular map projections.  It was popularized by Randy McNally in the 1960&#8242;s and is considered to be one of the most aesthetically pleasing projections of the globe.  However, unlike other projections it isn&#8217;t based on a nice formula.  Rather, it is based on an ad hoc table of input values that were chosen to look good.</p>
<p>To figure out how to take latitude and longitude coordinates and project them into x/y space  I had to wade through <a href="http://findarticles.com/p/articles/mi_hb3006/is_2_31/ai_n29118548/">this journal article</a> (the find articles version omits this very important <a href="http://www.flashmap.org/wp-content/uploads/2010/09/robinson_projection_table.jpg">table</a>).</p>
<p><a href="http://www.flashmap.org/wp-content/uploads/2010/09/robinson_projection_table.jpg"><img class="aligncenter size-thumbnail wp-image-86" title="robinson_projection_table" src="http://www.flashmap.org/wp-content/uploads/2010/09/robinson_projection_table-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>The process is not exactly straightforward.  You need to convert latitude and longitude into radians.  You also need to extrapolate for values that are between rows in the table.  After many frustrating hours I finally coded up some Actionscript 3 that will transform lat/lon into x/y coordinates.  These x/y coordinates are based an origin located in Africa.  So, to get them to work with Flash which has an origin in the upper left corner takes some adjustments.  Of course, you also need to scale the x/y coordinates based on the size of your map.  For the code to work, your map must be a Robinson projection and have a width that is 1.97 times the height.  I wrote some directions to walk you through the process.  As you work, use <a href="http://spatialreference.org/ref/esri/54030/">this resource</a> for verifying output values.</p>
<p style="text-align: center;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-Download the Code&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p style="text-align: left;">1.  <a href="http://www.flashmap.org/robinson_projection/robinson_projection.as">Robinson-Projection-Actionscript3 Code (.as)</a></p>
<p style="text-align: left;">2.  <a href="http://www.flashmap.org/robinson_projection/robinson_map_directions.txt">Directions on Scaling and Use (.txt)</a></p>
<p style="text-align: center;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>All code is licensed under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GPLv2</a>.  This means that any derivate works that you create using the code must be released under the same license.  If you wish to use this code in a product you want to resell, you need to ask for permission by <a href="http://www.flashusamap.com/contactus.php">contacting me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmap.org/robinson-projection-in-as3-gpl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

