<?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>Undolog.com &#187; Flash CS4</title>
	<atom:link href="http://www.undolog.com/category/sviluppo/flash-cs4-sviluppo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.undolog.com</link>
	<description>Research &#38; Development  Blog</description>
	<lastBuildDate>Thu, 18 Mar 2010 14:23:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adobe Flash CS4: creare un Ajax Loader o Activity Indicator</title>
		<link>http://www.undolog.com/2009/11/04/adobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator/</link>
		<comments>http://www.undolog.com/2009/11/04/adobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:19:44 +0000</pubDate>
		<dc:creator>Giovambattista Fazioli</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[Sviluppo]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Activity Indicator]]></category>
		<category><![CDATA[Adobe Flash CS4]]></category>
		<category><![CDATA[Ajax Loader]]></category>
		<category><![CDATA[PNG]]></category>

		<guid isPermaLink="false">http://www.undolog.com/?p=2595</guid>
		<description><![CDATA[Creare un Ajax Loader (o Activity indicator per chi è ormai abituato ad usare l'Apple iPhone) per il Web non è una cosa difficile: esistono servizi che generano immagini gif animate di tutti i tipi. Tuttavia il formato GIF ha il grosso difetto di non supportare le trasparenze come si deve. La trasparenza, nel formato [...]]]></description>
			<content:encoded><![CDATA[<p>Creare un <strong>Ajax Loader</strong> (o <strong>Activity indicator</strong> per chi è ormai abituato ad usare l'Apple iPhone) per il Web non è una cosa difficile: esistono <a href="http://www.ajaxload.info/" target="_blank">servizi che generano immagini gif animate</a> di tutti i tipi. Tuttavia il formato GIF ha il grosso difetto di non supportare le trasparenze come si deve. La trasparenza, nel formato GIF attuale, coinvolge un solo piano di bit con la conseguenza che se non abbiamo un colore di sfondo uniforme, i bordi dell'immagine risultano notevolmente sgranati e frammentati.<br />
L'animazione mostrata qui sotto è stata realizzata impostando come colore di trasparenza il bianco.</p>
<p class="center"><img title="ajax-loader" src="/wp-content/uploads/2009/11/ajax-loader.gif" alt="ajax-loader" width="16" height="16" /></p>
<p>Quindi se lo sfondo è bianco (o un colore simile) non ci sono problemi. Al contrario, appena sostituiamo lo sfondo, ecco cosa accade:</p>
<div style="margin: 0pt auto; background: #000000 none repeat scroll 0% 0%; text-align: center; width: 48px; height: 48px;"><img style="margin-top:16px" title="ajax-loader" src="/wp-content/uploads/2009/11/ajax-loader.gif" alt="ajax-loader" width="16" height="16" /></div>
<p>In attesa, quindi, della diffusione del formato <a href="http://animatedpng.com/" target="_blank">APNG</a> (Animated PNG) - che supporterà un vero e proprio canale alpha per le trasparenze, importare GIF animati in contesti come Adobe Flash risulta "graficamente" una pessima scelta. Ecco allora come realizzare un'animazione in Adobe Flash del tutto simile a quelle presenti sul Web.</p>
<h4>Costruiamo il nostro Ajax Loader in Adobe Flash: il "petalo"</h4>
<p>Prima di tutto creiamo un MovieClip vuoto (o se preferite potete lavorare direttamente sullo stage) e disegnamo una linea verticale nera, il nostro petalo, alta 60/70 pixel per comodità, impostando uno spessore (tratto) di 10:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-1.png" alt="Ajax Loader in Adobe Flash" width="63" height="113" /></p>
<p>Selezioniamo la nostra linea e trasformiamola temporaneamente in un oggetto immagine (F8). Dal pannello <strong>Allinea</strong>, centriamola nello stage. Adesso duplichiamo (CTRL+D o CMD+D) la nostra linea, centriamo la linea duplicata e ruotiamola dal pannello <strong>Trasforma</strong> di 30 gradi:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-18.png" alt="Ajax Loader in Adobe Flash" /> <img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-2.png" alt="Ajax Loader in Adobe Flash" width="103" height="102" /></p>
<p>Ripetiamo questa operazione (duplica, centra, ruota di 30 gradi) fino ad ottenere:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-3.png" alt="Ajax Loader in Adobe Flash" width="116" height="109" /></p>
<p>Selezioniamo tutta l'immagine, cioè la somma degli oggetti:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-4.png" alt="Ajax Loader in Adobe Flash" width="113" height="110" /></p>
<p>Dal menu <strong>Elabora</strong> selezionate <strong>Dividi</strong> (CTRL+B o CMD+B):</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-5.png" alt="Ajax Loader in Adobe Flash" width="113" height="108" /></p>
<p>Poi, sempre dal menu Elabora, selezionate <strong>Forma</strong> &gt; <strong>Converti linee in riempimenti</strong>. In questo modo abbiamo ottenuto una figura "unica".</p>
<p>Adesso dobbiamo "bucare" il centro della nostra immagine. Per fare questo aumentate un po' lo <strong>zoom</strong> (tipo 400). Create un <strong>nuovo livello</strong> e proteggiamo quello con il lavoro svolto fino adesso:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-7.png" alt="Ajax Loader in Adobe Flash" width="228" height="74" /></p>
<p>Su questo nuovo livello potremmo lavorare in tranquillità, senza danneggiare l'altra nostra immagine. Disegniamo, partendo dal centro (mantenete premuto il tasto <strong>ALT</strong> insieme al tasto maiuscole <strong>SHIFT</strong>) un cerchio rosso senza bordo:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-8.png" alt="Ajax Loader in Adobe Flash" width="355" height="361" /></p>
<p>Nella figura qui sopra ho impostato la trasparenza del cerchio per evidenziare la sua posizione rispetto alla nostra figura (che si trova sul livello sottostante). Notate che ho appositamente "tagliato" gli spigoli dove si congiungono i "petali" della nostra figura. Il cerchio, quindi, dev'essere della giusta grandezza, cosa che ci tornerà comoda più avanti. Fatto questo selezionate il cerchio, copiatelo (CTRL+C o CMD+C) ed eliminate pure l'ultimo livello creato, sbloccate il livello con la nostra figura, e incollate!</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-9.png" alt="Ajax Loader in Adobe Flash" width="206" height="230" /></p>
<p>Cliccate adesso sul bianco dello stage in modo da deselezionare il cerchio rosso. Ora abbiamo "fuso" i nostri due oggetti. Selezionate nuovamente il cerchio rosso ed eliminatelo!</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-11.png" alt="Ajax Loader in Adobe Flash" width="215" height="205" /></p>
<p>Ottimo! Adesso selezioniamo tutto il nostro oggetto e cambiamogli colore con un grigio chiaro:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-12.png" alt="Ajax Loader in Adobe Flash" width="197" height="185" /></p>
<p>Selezioniamo poi il primo petalo (ore 12) e impostiamolo a nero (voi ovvimente potete scegliere la gradazione di colori che preferite):</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-13.png" alt="Ajax Loader in Adobe Flash" /></p>
<p>Impostiamo ora il secondo petalo (ore 13) ad un grigio scuro:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-14.png" alt="Ajax Loader in Adobe Flash" /></p>
<p>Proseguiamo per gli altri due petali (scegliete vuoi quanta gradazione applicare) fino ad ottenere:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-15.png" alt="Ajax Loader in Adobe Flash" /></p>
<h4>L'animazione</h4>
<p>Perfetto, ci siamo quasi, l'ultimo sforzo richiesto è creare la rotazione. Questa non deve riguardare i petali ma solo il colore. Per fare questo avremmo potuto procedere anche in altri modi (vedi ad esempio con luso delle maschere...), tuttavia questo mi sembra più semplice. Spostiamoci di qualche fotogramma avanti, tipo al 5 e inseriamo un <strong>Fotogramma chiave</strong>.</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-16.png" alt="Ajax Loader in Adobe Flash" /></p>
<p>Da pannello <strong>Trasforma</strong> ruotiamo la nostra immagine di 30 gradi, gli stessi gradi utilizzati durante la creazione dei nostri "petali". Ripetiamo questa operazione (inserimento Fotogramma chiave e rotazione di 30 gradi) mantenedo sempre costanti in numero di fotogrammi tra una chiave e un'altra, fino ad ottenere:</p>
<p class="center"><img style="border:1px solid #aaa" title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/Immagine-19.png" alt="Ajax Loader in Adobe Flash" /></p>
<p>Finito! Il nostro <strong>Ajax Loader in Adobe Flash</strong> è terminato! Ecco qui sotto la versione GIF esportata da Flash.</p>
<p class="center"><img title="Ajax Loader in Adobe Flash" src="/wp-content/uploads/2009/11/aaaa1.gif" alt="Ajax Loader in Adobe Flash" width="80" height="80" /></p>
<p>Qui sotto il filmato Flash con uno sfondo in movimento (notate che non ci sono distorzioni o sgranature):<br />

<object width="80" height="80">
<param name="movie" value="/wp-content/uploads/2009/11/ajax-loader.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#000000"></param>
<param name="allowFullScreen" value="true"></param>
<embed type="application/x-shockwave-flash" width="80" height="80" src="/wp-content/uploads/2009/11/ajax-loader.swf" quality="high" bgcolor="#000000" wmode="window" menu="false" allowFullScreen="true" ></embed>
</object>
<br />
<a href="/wp-content/uploads/2009/11/ajax-loader.fla.zip">Il sorgente</a> <img src='http://www.undolog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;bodytext=Creare%20un%20Ajax%20Loader%20%28o%20Activity%20indicator%20per%20chi%20%C3%A8%20ormai%20abituato%20ad%20usare%20l%27Apple%20iPhone%29%20per%20il%20Web%20non%20%C3%A8%20una%20cosa%20difficile%3A%20esistono%20servizi%20che%20generano%20immagini%20gif%20animate%20di%20tutti%20i%20tipi.%20Tuttavia%20il%20formato%20GIF%20ha%20il%20grosso%20difetto%20di%20n" title="Digg"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;notes=Creare%20un%20Ajax%20Loader%20%28o%20Activity%20indicator%20per%20chi%20%C3%A8%20ormai%20abituato%20ad%20usare%20l%27Apple%20iPhone%29%20per%20il%20Web%20non%20%C3%A8%20una%20cosa%20difficile%3A%20esistono%20servizi%20che%20generano%20immagini%20gif%20animate%20di%20tutti%20i%20tipi.%20Tuttavia%20il%20formato%20GIF%20ha%20il%20grosso%20difetto%20di%20n" title="del.icio.us"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="Technorati"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;t=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="Facebook"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;annotation=Creare%20un%20Ajax%20Loader%20%28o%20Activity%20indicator%20per%20chi%20%C3%A8%20ormai%20abituato%20ad%20usare%20l%27Apple%20iPhone%29%20per%20il%20Web%20non%20%C3%A8%20una%20cosa%20difficile%3A%20esistono%20servizi%20che%20generano%20immagini%20gif%20animate%20di%20tutti%20i%20tipi.%20Tuttavia%20il%20formato%20GIF%20ha%20il%20grosso%20difetto%20di%20n" title="Google Bookmarks"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator%20-%20http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="Twitter"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://barrapunto.com/submit.pl?subj=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;story=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="BarraPunto"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/barrapunto.png" title="BarraPunto" alt="BarraPunto" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://current.com/clipper.htm?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="Current"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;body=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="email"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;link=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="FriendFeed"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;headline=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;source=Undolog.com+Research+%26amp%3B+Development++Blog&amp;summary=Creare%20un%20Ajax%20Loader%20%28o%20Activity%20indicator%20per%20chi%20%C3%A8%20ormai%20abituato%20ad%20usare%20l%27Apple%20iPhone%29%20per%20il%20Web%20non%20%C3%A8%20una%20cosa%20difficile%3A%20esistono%20servizi%20che%20generano%20immagini%20gif%20animate%20di%20tutti%20i%20tipi.%20Tuttavia%20il%20formato%20GIF%20ha%20il%20grosso%20difetto%20di%20n" title="LinkedIn"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="Live"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;t=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="MySpace"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="Netvibes"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;partner=sociable" title="Print"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.undolog.com/feed/" title="RSS"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="Segnalo"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F&amp;title=Adobe%20Flash%20CS4%3A%20creare%20un%20Ajax%20Loader%20o%20Activity%20Indicator" title="StumbleUpon"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.wikio.it/vote?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F11%2F04%2Fadobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator%2F" title="Wikio IT"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/wikio.png" title="Wikio IT" alt="Wikio IT" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://www.undolog.com/category/sviluppo/flash-cs3/actionscript-30/" title="Actionscript 3.0" rel="tag">Actionscript 3.0</a>, <a href="http://www.undolog.com/tag/activity-indicator/" title="Activity Indicator" rel="tag">Activity Indicator</a>, <a href="http://www.undolog.com/tag/adobe-flash-cs4/" title="Adobe Flash CS4" rel="tag">Adobe Flash CS4</a>, <a href="http://www.undolog.com/tag/ajax-loader/" title="Ajax Loader" rel="tag">Ajax Loader</a>, <a href="http://www.undolog.com/category/sviluppo/flash/" title="Flash" rel="tag">Flash</a>, <a href="http://www.undolog.com/category/sviluppo/flash-cs3/" title="Flash CS3" rel="tag">Flash CS3</a>, <a href="http://www.undolog.com/category/sviluppo/flash-cs4-sviluppo/" title="Flash CS4" rel="tag">Flash CS4</a>, <a href="http://www.undolog.com/tag/png/" title="PNG" rel="tag">PNG</a>, <a href="http://www.undolog.com/category/sviluppo/" title="Sviluppo" rel="tag">Sviluppo</a>, <a href="http://www.undolog.com/category/tutorials/" title="Tutorials" rel="tag">Tutorials</a>, <a href="http://www.undolog.com/tag/tutorials/" title="Tutorials" rel="tag">Tutorials</a><br />

	<h4>Post correlati</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.undolog.com/2009/07/03/wordpress-usare-gli-shortcodes/" title="Wordpress: usare gli shortcodes (3 luglio, 2009)">Wordpress: usare gli shortcodes</a> (5)</li>
	<li><a href="http://www.undolog.com/2008/11/01/wordpress-rimuovere-i-menu-dellamministrazione/" title="Wordpress: rimuovere i menu dell&#8217;amministrazione (1 novembre, 2008)">Wordpress: rimuovere i menu dell&#8217;amministrazione</a> (12)</li>
	<li><a href="http://www.undolog.com/2009/02/09/wordpress-personalizzare-la-navigazione-tra-i-post/" title="Wordpress: personalizzare la navigazione tra i post (9 febbraio, 2009)">Wordpress: personalizzare la navigazione tra i post</a> (5)</li>
	<li><a href="http://www.undolog.com/2008/10/03/wordpress-come-scrivere-un-reply-to-comment-usando-jquery/" title="Wordpress: come scrivere un reply to comment usando jQuery (3 ottobre, 2008)">Wordpress: come scrivere un reply to comment usando jQuery</a> (18)</li>
	<li><a href="http://www.undolog.com/2008/10/24/wordpress-come-creare-passo-passo-un-proprio-login/" title="Wordpress: come creare passo passo un proprio login (24 ottobre, 2008)">Wordpress: come creare passo passo un proprio login</a> (21)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.undolog.com/2009/11/04/adobe-flash-cs4-creare-un-ajax-loader-o-activity-indicator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Come usare Google Maps in Adobe Flash CS4</title>
		<link>http://www.undolog.com/2009/08/29/come-usare-google-maps-in-adobe-flash-cs4/</link>
		<comments>http://www.undolog.com/2009/08/29/come-usare-google-maps-in-adobe-flash-cs4/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 22:34:40 +0000</pubDate>
		<dc:creator>Giovambattista Fazioli</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe-Flash]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[Google Maps API]]></category>
		<category><![CDATA[Google Maps API ActionScript Reference]]></category>
		<category><![CDATA[Latitudine]]></category>
		<category><![CDATA[Longitudine]]></category>
		<category><![CDATA[Marker]]></category>
		<category><![CDATA[Overlay]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.undolog.com/?p=2360</guid>
		<description><![CDATA[Tutorial su come utilizzare le API di Google Maps in Adobe Flash CS4, per creare mappe interattive davvero accativanti con effetti (anche 3D) spettacolari]]></description>
			<content:encoded><![CDATA[<p>In <strong>Adobe Flash</strong> è possibile utilizzare un vasto assortimento di <strong>Web API</strong> esterne fornite da servizi come <a href="http://www.facebook.com" target="_blank">Facebook</a>, <a target="_blank" href="http://www.twitter.com">Twitter</a> o <a href="http://www.flickr.com" target="_blank">Flickr</a>. In questo tutorial vedremo come integrare, in modo davvero semplice, i servizi di <a href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/" target="_blank">Google Maps</a> in un filmato/applicazione Adobe Flash CS4. Premetto che il procedimento per poter utilizzare Google Maps in Flash è molto simile a quello che accade in HTML/Javascript (vedi per dettagli <a href="http://www.undolog.com/2007/01/23/come-inserire-google-map-nel-proprio-web/"><em>Come inserire Google Map nel proprio Web</em></a>).</p>
<h4>Download ed installazione delle SDK</h4>
<p>Per prima cosa memorizziamo nei bookmark del nostro browser l'indirizzo del sito <a href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/" target="_blank">Google Maps API per Flash</a>. Su questo sito troviamo tutto ciò che ci server per utilizzare le API di Google. Sulla destra della pagina è possibile accedere ad una serie di risorse, tra cui il <a target="_blank" href="http://maps.googleapis.com/maps/flash/release/sdk.zip">link per scaricare le SDK</a> da usare in Flash. Salvate lo ZIP sulla vostra scrivania (o Desktop) e scompattatelo. Nella cartella <code>sdk/lib</code> troverete un file chiamato <code>map_1_16.swc</code>. Copiate questo file nella clipboard (<code>Command-C</code> per Mac o <code>Ctrl-C</code> per PC) e posizionatelo all'interno di questo percorso:</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showCodeTxt('code-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color:#FF9933; font-style:italic;">// Mac</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color:#006600; font-weight:bold;">&#91;</span>cartella utente<span style="color:#006600; font-weight:bold;">&#93;</span>/Library/Application Support/Adobe/Flash CS4/language/Configuration/Components</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color:#FF9933; font-style:italic;">// Windows</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color:#006600; font-weight:bold;">&#91;</span>cartella utente<span style="color:#006600; font-weight:bold;">&#93;</span>\Local Settings\Application Data\Adobe\Flash CS4\language\Configuration\Components</div>
</li>
</ol>
</div>
</div>
</div>
<p>
Se la cartella <code>Components</code> non esiste già, createla e in questa create una cartella <code>Google</code> e incollate il file <code>map_1_16.swc</code>. Se per caso avevate già aperto Flash (frettolosi...), chiudetelo e rapritelo, in modo che possa ricaricare il componente appena installato.</p>
<h4>Creiamo il filmato Flash</h4>
<p>A questo punto apriamo Flash e creiamo un nuovo filmato. Aprite la finestra <strong>Componenti</strong> e dovreste trovare Google Maps:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-21.png" alt="Google Maps Library" title="Google Maps Library" width="215" height="169" style="border:1px solid #aaa" /></p>
<p>Selezionate il componente <code>GoogleMapsLibrary</code> e trascinatelo nello stage. Nel primo frame del nostro filmato inserite il seguente semplice codice:</p>
<div class="igBar"><span id="lactionscript3-2"><a href="#" onclick="javascript:showCodeTxt('actionscript3-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-2">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// Importo le classi Google Maps</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>google<span style="color: #000066; font-weight: bold;">.</span>maps<span style="color: #000066; font-weight: bold;">.*;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>google<span style="color: #000066; font-weight: bold;">.</span>maps<span style="color: #000066; font-weight: bold;">.</span>overlays<span style="color: #000066; font-weight: bold;">.*;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>google<span style="color: #000066; font-weight: bold;">.</span>maps<span style="color: #000066; font-weight: bold;">.</span>controls<span style="color: #000066; font-weight: bold;">.*;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">:</span>Map = <span style="color: #0033ff; font-weight: bold;">new</span> Map<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>key &nbsp; &nbsp; = <span style="color: #990000;">&quot;API_KEY&quot;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// vedi sotto per ottenere una tua chiave</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// In questo esempio imposto la dimensione della Mappa Google della</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// stessa grandezza del filmato. In alternativa potete inserire le</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// dimensioni che preferite.</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>setSize<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=point%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:point.html"><span style="color: #004993;">Point</span></a><span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageWidth</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageHeight</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">map</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
Nella riga 7 dovete sostituire la stringa <code>API_KEY</code> con la chiave di attivazione che fornisce Google. Per ottenerla basta tornare sul sito <a target="_blank" href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/">Google Maps API for Flash</a> e richiedere una <strong>API Key</strong> cliccando su <a target="_blank" href="http://code.google.com/apis/maps/signup.html">Sign up for a Google Maps API Key</a>. Quando vi verrà chiesto di <strong>inserire l'url del sito</strong> sul quale volete utilizzare il filmato Flash che accede alle API di Google, nel caso non lo sapete ancora o voletete semplicemente provare il filmato in locale, inserite <code>http://localost</code> e cliccate su <strong>Generate API Key</strong>:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-31.png" alt="Google API Key" title="Google API Key" width="504" height="168" style="border:1px solid #aaa" /></p>
<p>A questo punto possiamo già provare il filmato, ottenendo:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-22.png" alt="Filmato Flash con Google Maps" title="Filmato Flash con Google Maps" width="589" height="466" /></p>
<h4>Aggiungiamo qualche controllo</h4>
<p>Per prima cosa aggiungiamo i <a target="_blank" href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/controls.html">classici controlli</a> di <strong>Posizione</strong>, <strong>Zoom</strong> e <strong>Tipo Mappa</strong>. Per fare questo dobbiamo essere sicuri che la mappa sia pronta all'uso. Basta quindi creare un listener sull'evento <code>MapEvent.MAP_READY</code>. Aggiungiamo quindi le seguenti righe di codice:</p>
<div class="igBar"><span id="lactionscript3-3"><a href="#" onclick="javascript:showCodeTxt('actionscript3-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-3">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// Aggiungiamo i controlli</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> MapEvent<span style="color: #000066; font-weight: bold;">.</span>MAP_READY<span style="color: #000066; font-weight: bold;">,</span> onMapReady <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #339966; font-weight: bold;">function</span> onMapReady<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>MapEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addControl<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> PositionControl<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addControl<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> ZoomControl<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addControl<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> MapTypeControl<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h4>Impostiamo un indirizzo</h4>
<p>A questo punto possiamo impostare la mappa in modo che visualizzi un indirizzo specifico, come la sede della mia società <a target="_blank" href="http://www.saidmade.com">Saidmade</a> a Modena - o qualsiasi altro indirizzo che preferite.<br />
<strong>Suggerimento:</strong> per trovare le coordinate del nostro indirizzo, ovvero <strong>Latitudine e Longitudine</strong>, possiamo usare questo semplice e utile <strong>hack</strong>. Aprire il sito di <a target="_blank" href="http://maps.google.it/maps">Google Maps</a>. Una volta sulla mappa cercate l'indirizzo che desiderate (ad esempio Via Cortese 10, Modena). Quando l'indirizzo è visualizzato sulla mappa, inserite questa riga nella barra indirizzi del browser:</p>
<div class="igBar"><span id="ljavascript-4"><a href="#" onclick="javascript:showCodeTxt('javascript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-4">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">javascript<span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#40;</span><span style="color: #000066;">prompt</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>gApplication.<span style="color: #660066;">getMap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getCenter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
Si aprirà una finestra pop-up con le coordinate utilizzabile nel codice:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-23.png" alt="Latitudine e Longitudine" title="Latitudine e Longitudine" width="460" height="199" style="border:1px solid #aaa" /></p>
<p>Torniamo ad ActionScript e aggiungiamo le seguenti righe di codice nella funzione <code>onMapReady()</code>:</p>
<div class="igBar"><span id="lactionscript3-5"><a href="#" onclick="javascript:showCodeTxt('actionscript3-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-5">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// centro la mappa su una specifica località</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>setCenter<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> LatLng<span style="color: #000000;">&#40;</span> 44<span style="color: #000066; font-weight: bold;">.</span>639828<span style="color: #000066; font-weight: bold;">,</span> 10<span style="color: #000066; font-weight: bold;">.</span>941795<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span> 18<span style="color: #000066; font-weight: bold;">,</span> MapType<span style="color: #000066; font-weight: bold;">.</span>SATELLITE_MAP_TYPE <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
Eseguiamo il filmato:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-5.png" alt="La sede di Saidmade Srl" title="La sede di Saidmade Srl" width="587" height="460" /></p>
<h4>Aggiungiamo un Marker</h4>
<p>Sempre all'interno della funzione <code>onMapReady()</code> aggiungiamo le seguenti righe di codice:</p>
<div class="igBar"><span id="lactionscript3-6"><a href="#" onclick="javascript:showCodeTxt('actionscript3-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-6">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// aggiungiamo il default marker</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #6699cc; font-weight: bold;">var</span> m<span style="color: #000066; font-weight: bold;">:</span>Marker = <span style="color: #0033ff; font-weight: bold;">new</span> Marker<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> LatLng<span style="color: #000000;">&#40;</span> 44<span style="color: #000066; font-weight: bold;">.</span>639828<span style="color: #000066; font-weight: bold;">,</span> 10<span style="color: #000066; font-weight: bold;">.</span>941795<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addOverlay<span style="color: #000000;">&#40;</span>m<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-6.png" alt="Marker overlay" title="Marker overlay" width="591" height="467" class="alignnone size-full wp-image-2391" /></p>
<p>I Marker possono essere personalizzati a piacimento, sia tramite gli stili fornite dalle API stesse di Google, sia tramite Flash. Ad esempio aggiungendo questa <code>import</code> all'inizio del codice:</p>
<div class="igBar"><span id="lactionscript3-7"><a href="#" onclick="javascript:showCodeTxt('actionscript3-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-7">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>google<span style="color: #000066; font-weight: bold;">.</span>maps<span style="color: #000066; font-weight: bold;">.</span>styles<span style="color: #000066; font-weight: bold;">.*;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
e sostituiendo il codice di creazione Marker visto prima con:</p>
<div class="igBar"><span id="lactionscript3-8"><a href="#" onclick="javascript:showCodeTxt('actionscript3-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-8">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// aggiungiamo il default marker</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #6699cc; font-weight: bold;">var</span> m<span style="color: #000066; font-weight: bold;">:</span>Marker = <span style="color: #0033ff; font-weight: bold;">new</span> Marker<span style="color: #000000;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; <span style="color: #0033ff; font-weight: bold;">new</span> LatLng<span style="color: #000000;">&#40;</span>44<span style="color: #000066; font-weight: bold;">.</span>639828<span style="color: #000066; font-weight: bold;">,</span> 10<span style="color: #000066; font-weight: bold;">.</span>941795<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; <span style="color: #0033ff; font-weight: bold;">new</span> MarkerOptions<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;strokeStyle<span style="color: #000066; font-weight: bold;">:</span> <span style="color: #0033ff; font-weight: bold;">new</span> StrokeStyle<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span><span style="color: #004993;">color</span><span style="color: #000066; font-weight: bold;">:</span> 0x987654<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;fillStyle<span style="color: #000066; font-weight: bold;">:</span> <span style="color: #0033ff; font-weight: bold;">new</span> FillStyle<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span><span style="color: #004993;">color</span><span style="color: #000066; font-weight: bold;">:</span> 0x223344<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">alpha</span><span style="color: #000066; font-weight: bold;">:</span> 0<span style="color: #000066; font-weight: bold;">.</span>8<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;radius<span style="color: #000066; font-weight: bold;">:</span> 12<span style="color: #000066; font-weight: bold;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp;hasShadow<span style="color: #000066; font-weight: bold;">:</span> <span style="color: #0033ff; font-weight: bold;">true</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addOverlay<span style="color: #000000;">&#40;</span>m<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
otteniamo il seguento effetto:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-7.png" alt="Personalizzare il Marker" title="Personalizzare il Marker" width="584" height="463" /></p>
<p>In alternativa è possibile associare <strong>direttamente un MovieClip</strong> come Marker. Essendo un MovieClip, ovviamente, esso potrà contenere <strong>animazioni</strong>, <strong>video</strong> o qualsiasi altro tipo di contenuto interattivo <strong>supportato in Flash</strong>. Inoltre è possibile disegnare linee e forme così da creare delle mappe interattive e ricche di contenuti multimediali.<br />
Per aggiungere un MovieClip e sufficiente crearlo, usando ad esempio un'immagine o un'animazione Flash, e impostare le sue proprietà in questo modo:</p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/property.jpg" alt="Impostazione proprietà MovieClip usato come Marker" title="Impostazione proprietà MovieClip usato come Marker" width="480" height="520" /></p>
<p>Fatto questo modificate il codice di creazione Marker in:</p>
<div class="igBar"><span id="lactionscript3-9"><a href="#" onclick="javascript:showCodeTxt('actionscript3-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript3-9">
<div class="actionscript3" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900; font-style: italic;">// aggiungiamo il default marker</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #6699cc; font-weight: bold;">var</span> m<span style="color: #000066; font-weight: bold;">:</span>Marker = <span style="color: #0033ff; font-weight: bold;">new</span> Marker<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> LatLng<span style="color: #000000;">&#40;</span>44<span style="color: #000066; font-weight: bold;">.</span>639828<span style="color: #000066; font-weight: bold;">,</span> 10<span style="color: #000066; font-weight: bold;">.</span>941795<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#758DB8;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0033ff; font-weight: bold;">new</span> MarkerOptions<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>icon<span style="color: #000066; font-weight: bold;">:</span> <span style="color: #0033ff; font-weight: bold;">new</span> myMarkerMovieClip<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#FF9900;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #004993;">map</span><span style="color: #000066; font-weight: bold;">.</span>addOverlay<span style="color: #000000;">&#40;</span>m<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p class="center"><img src="http://www.undolog.com/wp-content/uploads/2009/08/Immagine-9.png" alt="Un Marker davvero speciale" title="Un Marker davvero speciale" width="587" height="466" /></p>
<p>Tutte le informazioni sulle API, le classi, metodi, eventi e proprietà sono disponibili su <a target="_blank" href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/reference.html">Google Maps API ActionScript Reference</a>.<br />
Inoltre l'intero pacchetto è stato recentemente aggiornato con molte novità interessanti, come le <a target="_blank" href="http://code.google.com/intl/it-IT/apis/maps/documentation/flash/3d-maps.html">Mappe 3D</a>.</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;bodytext=Tutorial%20su%20come%20utilizzare%20le%20API%20di%20Google%20Maps%20in%20Adobe%20Flash%20CS4%2C%20per%20creare%20mappe%20interattive%20davvero%20accativanti%20con%20effetti%20%28anche%203D%29%20spettacolari" title="Digg"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;notes=Tutorial%20su%20come%20utilizzare%20le%20API%20di%20Google%20Maps%20in%20Adobe%20Flash%20CS4%2C%20per%20creare%20mappe%20interattive%20davvero%20accativanti%20con%20effetti%20%28anche%203D%29%20spettacolari" title="del.icio.us"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="Technorati"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;t=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="Facebook"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;annotation=Tutorial%20su%20come%20utilizzare%20le%20API%20di%20Google%20Maps%20in%20Adobe%20Flash%20CS4%2C%20per%20creare%20mappe%20interattive%20davvero%20accativanti%20con%20effetti%20%28anche%203D%29%20spettacolari" title="Google Bookmarks"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4%20-%20http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="Twitter"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://barrapunto.com/submit.pl?subj=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;story=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="BarraPunto"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/barrapunto.png" title="BarraPunto" alt="BarraPunto" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://current.com/clipper.htm?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="Current"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="mailto:?subject=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;body=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="email"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;link=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="FriendFeed"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;headline=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;source=Undolog.com+Research+%26amp%3B+Development++Blog&amp;summary=Tutorial%20su%20come%20utilizzare%20le%20API%20di%20Google%20Maps%20in%20Adobe%20Flash%20CS4%2C%20per%20creare%20mappe%20interattive%20davvero%20accativanti%20con%20effetti%20%28anche%203D%29%20spettacolari" title="LinkedIn"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="Live"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;t=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="MySpace"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4&amp;url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="Netvibes"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;partner=sociable" title="Print"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.undolog.com/feed/" title="RSS"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="Segnalo"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F&amp;title=Come%20usare%20Google%20Maps%20in%20Adobe%20Flash%20CS4" title="StumbleUpon"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.wikio.it/vote?url=http%3A%2F%2Fwww.undolog.com%2F2009%2F08%2F29%2Fcome-usare-google-maps-in-adobe-flash-cs4%2F" title="Wikio IT"><img src="http://www.undolog.com/wp-content/plugins/sociable/images/wikio.png" title="Wikio IT" alt="Wikio IT" class="sociable-hovers" /></a>


<br/><br/>
	Tags: <a href="http://www.undolog.com/tag/actionscript/" title="ActionScript" rel="tag">ActionScript</a>, <a href="http://www.undolog.com/category/sviluppo/flash-cs3/actionscript-30/" title="Actionscript 3.0" rel="tag">Actionscript 3.0</a>, <a href="http://www.undolog.com/tag/adobe-flash/" title="Adobe-Flash" rel="tag">Adobe-Flash</a>, <a href="http://www.undolog.com/tag/api/" title="api" rel="tag">api</a>, <a href="http://www.undolog.com/category/featured/" title="Featured" rel="tag">Featured</a>, <a href="http://www.undolog.com/tag/flash-cs4/" title="Flash CS4" rel="tag">Flash CS4</a>, <a href="http://www.undolog.com/category/sviluppo/flash-cs4-sviluppo/" title="Flash CS4" rel="tag">Flash CS4</a>, <a href="http://www.undolog.com/tag/google-maps-api/" title="Google Maps API" rel="tag">Google Maps API</a>, <a href="http://www.undolog.com/tag/google-maps-api-actionscript-reference/" title="Google Maps API ActionScript Reference" rel="tag">Google Maps API ActionScript Reference</a>, <a href="http://www.undolog.com/tag/latitudine/" title="Latitudine" rel="tag">Latitudine</a>, <a href="http://www.undolog.com/tag/longitudine/" title="Longitudine" rel="tag">Longitudine</a>, <a href="http://www.undolog.com/tag/marker/" title="Marker" rel="tag">Marker</a>, <a href="http://www.undolog.com/tag/overlay/" title="Overlay" rel="tag">Overlay</a>, <a href="http://www.undolog.com/tag/ria/" title="RIA" rel="tag">RIA</a>, <a href="http://www.undolog.com/category/tutorials/" title="Tutorials" rel="tag">Tutorials</a><br />

	<h4>Post correlati</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.undolog.com/2007/02/13/web20-adobe-ci-prova-con-apollo/" title="Web2.0: Adobe ci prova con Apollo? (13 febbraio, 2007)">Web2.0: Adobe ci prova con Apollo?</a> (2)</li>
	<li><a href="http://www.undolog.com/2007/03/12/web20-gran-paradiso-firefox-30-e-apollo/" title="Web2.0: Gran Paradiso-Firefox 3.0 e Apollo (12 marzo, 2007)">Web2.0: Gran Paradiso-Firefox 3.0 e Apollo</a> (2)</li>
	<li><a href="http://www.undolog.com/2008/02/29/umap-flash-component-beta-v06/" title="UMap Flash Component (Beta v0.6) (29 febbraio, 2008)">UMap Flash Component (Beta v0.6)</a> (0)</li>
	<li><a href="http://www.undolog.com/2007/03/15/papervision3d/" title="Papervision3D (15 marzo, 2007)">Papervision3D</a> (0)</li>
	<li><a href="http://www.undolog.com/2007/03/02/net-software/" title="Net Software (2 marzo, 2007)">Net Software</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.undolog.com/2009/08/29/come-usare-google-maps-in-adobe-flash-cs4/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
