<?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>JActionScripters &#187; Google Maps</title>
	<atom:link href="http://blog.jactionscripters.com/category/google-maps/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jactionscripters.com</link>
	<description>More than 20 Japanese flash coders share the blog/ You will be junkie for this crazy Japanese Flash news</description>
	<lastBuildDate>Sun, 20 Jun 2010 10:03:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Color your Google Maps flash monochrome.</title>
		<link>http://blog.jactionscripters.com/2009/05/20/color-your-google-maps-flash-monochrome/</link>
		<comments>http://blog.jactionscripters.com/2009/05/20/color-your-google-maps-flash-monochrome/#comments</comments>
		<pubDate>Wed, 20 May 2009 01:32:54 +0000</pubDate>
		<dc:creator>Akira Narita</dc:creator>
				<category><![CDATA[Google Maps]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=493</guid>
		<description><![CDATA[
Japanese cool Flash sites containing Google Maps map parts have been recently colored by a cool tone.
Check out these sample sites below.

UNIQLO PARKA STYLE 1000 &#124; TOKYO FASHION MAP
HELLO! RUNNERS MAP

Hey don&#8217;t you think they look so cool?
It&#8217;s just a color , but each color produces a different feeling effect right?
So today is the day [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/coloryourgooglemaps.jpg" alt="coloryourgooglemaps" title="coloryourgooglemaps" width="640" height="360" class="alignnone size-full wp-image-496" /></p>
<p>Japanese cool Flash sites containing Google Maps map parts have been recently colored by a cool tone.</p>
<p>Check out these sample sites below.</p>
<ul>
<li><a href="http://www.uniqlo.com/uniqlo1000/map/" target="_blank">UNIQLO PARKA STYLE 1000 | TOKYO FASHION MAP</a></li>
<li><a href="http://www.adirepublic.jp/runners_map/" target="_blank">HELLO! RUNNERS MAP</a></li>
</ul>
<p>Hey don&#8217;t you think they look so cool?<br />
It&#8217;s just a color , but each color produces a different feeling effect right?<br />
So today is the day that I show you how you can color that map part for all of you &#8220;JActionScripters&#8221; followers.</p>
<p>I know that its an unofficial technique!!</p>
<p>First of all, you will need to get Google Maps API for Flash from <a href="http://code.google.com/intl/ja-JP/apis/maps/documentation/flash/" target="_blank">here</a> to create your Google Maps Flash!!</p>
<p>Next, begin to edit a new fla file of AS3 and then put the Google Maps component onto the stage.<br />
Then you are ready to go coding actionscript for Google Maps.</p>
<p>In the process of coding actionscript you must define a Map Class Instance to be ready for Google Maps.<br />
And that Map Class instance has the map part so define a getter function referring to the map point.</p>
<p>Here is the example getter function.</p>
<p><code-style>
<pre name="code" class="as3">

public function get mapArea():*
{
 var mapPart:* = gMap.getChildAt(1);
 return mapPart.getChildAt(0);
}
//※Replace "gMap" to a Map instance on your code 
</pre>
<p></code-style></p>
<p>Try to change the alpha property when you get ready to go.<br />
So from this stage, you can now color the map part!!</p>
<p>Todays sample used a ColorMatrixFilter so you can easily change the color.<br />
Just try this sample function to color the map part monochrome.</p>
<p><code-style>
<pre name="code" class="as3">

public function setMapColorMonoChrome():void
{
 var R:Number = 0.299;  var G:Number = 0.587; var B:Number = 0.114;
 var matrix:Array = [
  R, G, B, 0, 0,
  R, G, B, 0, 0,
  R, G, B, 0, 0,
  0, 0, 0, 1, 0];

 var CMF:ColorMatrixFilter = new ColorMatrixFilter(matrix);
 mapArea.filters = [CMF];
}
//※Replace "gMap" to a Map instance on your code
</pre>
<p></code-style></p>
<p>You finally did it right?</p>
<p>You can now make your Google Maps colored by your own colors from today onwards!</p>
<p>Stay Flash Freaky!!</p>
<p><strong>*Adding note.</strong></p>
<p>For official permission to re-color the map tiles in your mashup, please fill out this form:<a href="https://spreadsheets.google.com/viewform?formkey=cm0zMDkzOHZWMjJneEl2RVdkNFZRb0E6MA" target="_blank">https://spreadsheets.google.com/viewform?formkey=cm0zMDkzOHZWMjJneEl2RVdkNFZRb0E6MA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/20/color-your-google-maps-flash-monochrome/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
