<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Tiago&#039;s Weblog &#187; AS 3.0</title>
	<atom:link href="http://blog.six4rty.ch/tag/as-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.six4rty.ch</link>
	<description>Code &#38; Technology Aficionado - Come for the Flash, stay for more!</description>
	<lastBuildDate>Tue, 01 Nov 2011 14:06:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
		<item>
		<title>Vinayaka (win) launched</title>
		<link>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/</link>
		<comments>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 15:46:22 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Font Embedding]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Vinayaka]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1006</guid>
		<description><![CDATA[You can download Vinayaka directly from the projects page. Just follow this link: http://wiki.six4rty.ch/doku.php?id=vinayaka If you get hold of any bugs or issues, please follow the issues link and fill out a bug, I will try to fix it as soon as I can. Feel free to post a comment, if you think this application [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png"></a><a href="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_winversion.png"><img class="alignleft size-full wp-image-1015" style="margin-left: 10px; margin-right: 10px;" title="vinayaka_winversion" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_winversion.png" alt="" width="128" height="128" /></a><br />
You can download Vinayaka directly from the projects page. Just follow this link:<br />
<a href="http://wiki.six4rty.ch/doku.php?id=vinayaka" target="_blank">http://wiki.six4rty.ch/doku.php?id=vinayaka</a></p>
<p>If you get hold of any bugs or issues, please follow the issues link and fill out a bug, I will try to fix it as soon as I can.<br />
Feel free to post a comment, if you think this application is helpful or could be improved.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2011%252F01%252F09%252Fvinayaka-win-launched%252F&title=Vinayaka+%28win%29+launched&desc=%0D%0AYou+can+download+Vinayaka+directly+from+the+projects+page.+Just+follow+this+link%3A%0D%0Ahttp%3A%2F%2Fwiki.six4rty.ch%2Fdoku.php%3Fid%3Dvinayaka%0D%0A%0D%0AIf+you+get+hold+of+any+bugs+or+issues%2C+please+follow+the+issues+link&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>The great search for the last font embedding solution</title>
		<link>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/</link>
		<comments>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 19:34:24 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Font Embedding]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Vinayaka]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=957</guid>
		<description><![CDATA[Ok, I&#8217;ve done enough projects to be more then fed up with how the font embedding in pure AS3 and Flex projects work. Not that long ago, I came up with the idea of creating a small utility that could speed up development time especially during the process of importing fonts for use in our [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png"><img class="alignleft size-full wp-image-976" style="margin: 10px;" title="vinayaka_128x128" src="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png" alt="" width="128" height="128" /></a>Ok, I&#8217;ve done enough projects to be more then fed up with how the font embedding in pure AS3 and Flex projects work.<br />
Not that long ago, I came up with the idea of creating a small utility that could speed up development time especially during the process of importing fonts for use in our projects. As you may know if you are a FDT4 user, they as well released a similar solution to the one I&#8217;m giving you now, I&#8217;m pretty sure their solution is great and since it&#8217;s integrated it&#8217;s a big plus, but as I&#8217;m not an FDT user (maybe one day) I had to search for another solution.</p>
<p>The first step towards that solution was actually creating the small app posted on my blog called the UnicodeFinder. Parts of the code have also been implemented in this new application. It&#8217;s simple but yet powerful, I present you Vinayaka(), an application that hopefully will solve all your font embedding problems in the future, it&#8217;s currently in an early stage, there is lot of room for improvement. If you have ideas or find any bugs, don&#8217;t forget to visit the <span style="text-decoration: line-through;"><a href="http://getsatisfaction.com/six4rty/products/six4rty_vinayaka" target="_blank">Vinayaka&#8217;s GetSatisfaction</a></span> page and leave your note.<span id="more-957"></span></p>
<p>First of all, the application can be downloaded as it is, I&#8217;m currently not providing any source code, why? Currently it&#8217;s a mess, I first need to clean up, refactor and document the code, until that is done, I would like to keep the code to myself, if you want to help me out extending or improving, then simply let me know by throwing me an email or by filling an issue on the Google Project page.</p>
<p>Currently Vinayaka only runs on Windows Systems, I&#8217;m publishing the OSX version in the course of the next days, so if you are a mac user please bare with me.</p>
<p><span style="text-decoration: line-through;"><strong>Very important:</strong><br />
I&#8217;ll be releasing Vinayaka to the public after my talk tomorrow at the SFUG until then no download version is available.<br />
A specific Product page will also be setup during the next 2 days.</span></p>
<p><strong>Download:</strong><br />
Please follow the <a href="http://blog.six4rty.ch/projects/">Projects page</a> for downloads and issue trackings.</p>
<p>Below some screenshots, so you at least know what is expecting you <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>

<a href='' title='vinayaka_1'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_1-290x290.png" class="attachment-thumbnail" alt="vinayaka_1" title="vinayaka_1" /></a>
<a href='' title='vinayaka_2'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_2-290x290.png" class="attachment-thumbnail" alt="vinayaka_2" title="vinayaka_2" /></a>
<a href='' title='vinayaka_3'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_3-290x290.png" class="attachment-thumbnail" alt="vinayaka_3" title="vinayaka_3" /></a>
<a href='' title='vinayaka_4'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_4-290x290.png" class="attachment-thumbnail" alt="vinayaka_4" title="vinayaka_4" /></a>
<a href='' title='vinayaka_5'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_5-290x290.png" class="attachment-thumbnail" alt="vinayaka_5" title="vinayaka_5" /></a>
<a href='' title='vinayaka_6'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_6-290x290.png" class="attachment-thumbnail" alt="vinayaka_6" title="vinayaka_6" /></a>

<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2011%252F01%252F04%252Fpresenting_vinayaka%252F&title=The+great+search+for+the+last+font+embedding+solution&desc=Ok%2C+I%27ve+done+enough+projects+to+be+more+then+fed+up+with+how+the+font+embedding+in+pure+AS3+and+Flex+projects+work.%0D%0ANot+that+long+ago%2C+I+came+up+with+the+idea+of+creating+a+small+utility+that+could+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>40. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 12:40:09 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=961</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 5th of January 2011 at the Publicis Office in Zurich, To begin the new year with a bang, we are having Michael Fretz present his newest project involving Arduino and Android, sounds like fun. Myself is presenting a new tool I&#8217;ve been working on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 5th of January 2011 at the Publicis Office in Zurich, To begin the new year with a bang, we are having Michael Fretz present his newest project involving Arduino and Android, sounds like fun. Myself is presenting a new tool I&#8217;ve been working on called Vinayaka, if you want to know more about it, either pop by on the 5th of January or switch on to our live streaming.</p>
<p><strong>Topic 1: </strong>Vinayaka ( Tiago Dias )</p>
<p><strong>Topic 2:</strong> Arduino &amp; Android ( Michael Fretz )</p>
<p><strong>When:</strong> 5. January 2011 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.liip.ch" target="_blank"> </a>Publicis Werbeagentur, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F12%252F04%252F40-sfug-usergroup-meeting%252F&title=40.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+5th+of+January+2011+at+the+Publicis+Office+in+Zurich%2C+To+begin+the+new+year+with+a+bang%2C+we+are+having+Michael+Fretz+present+his+newest+pr&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>39. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 22:55:48 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=952</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 1st of December 2010 as usual at the Publicis Zurich office. If you want to see a cool multiscreen application running on various devices then pop by and enjoy the evening with us. Topic 1: Showcase Giroflex  (Marcel Vogt / Tiago Dias) Topic 2: [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 1st of December 2010 as usual at the Publicis Zurich office.<br />
If you want to see a cool multiscreen application running on various devices then pop by and enjoy the evening with us.</p>
<p><strong>Topic 1:</strong> Showcase Giroflex  (Marcel Vogt / Tiago Dias)</p>
<p><strong>Topic 2:</strong> TBA</p>
<p><strong>When:</strong> 1. December 2010 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur</a>, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F11%252F28%252F39-sfug-usergroup-meeting%252F&title=39.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+1st+of+December+2010+as+usual+at+the+Publicis+Zurich+office.%0D%0AIf+you+want+to+see+a+cool+multiscreen+application+running+on+various+devices&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>38. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/10/16/38-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/10/16/38-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 16:03:26 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=881</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 4th of November 2010 with a bunch of interesting topics: Topic 1: Adobe MAX 2010 review  (Marcel Vogt &#38; Tiago Dias/ Publicis Topic 2: Android AIR Development ( Sandro Ducceschi &#38; Marcel Vogt/ Liip &#38; Publicis ) Topic 3: Giroflex Multiscreen Case ( Tiago [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 4th of November 2010 with a bunch of interesting topics:</p>
<p><strong>Topic 1:</strong> Adobe MAX 2010 review  (Marcel Vogt &amp; Tiago Dias/ <a href="http://www.publicis.ch" target="_blank">Publicis </a></p>
<p><strong>Topic 2:</strong> Android AIR Development ( Sandro Ducceschi &amp; Marcel Vogt/<a href="http://www.liip.ch"> Liip </a> &amp; <a href="http://www.publicis.com" target="_blank">Publicis </a>)</p>
<p><strong>Topic 3:</strong> Giroflex Multiscreen Case ( Tiago Dias &amp; Marcel Vogt/<a href="http://www.liip.ch/"> </a><a href="http://www.publicis.com" target="_blank">Publicis</a>)</p>
<p><strong>When:</strong> 4th. November 2010 / 19:00-22:00<br />
<strong>Where:</strong>Publicis Werbeagentur AG, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F10%252F16%252F38-sfug-usergroup-meeting%252F&title=38.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+4th+of+November+2010+with+a+bunch+of+interesting+topics%3A%0D%0A%0D%0ATopic+1%3A+Adobe+MAX+2010+review%C2%A0+%28Marcel+Vogt+%26amp%3B+Tiago+Dias%2F+Publicis+%0D%0A%0D%0AT&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/10/16/38-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>37. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/10/05/37-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/10/05/37-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:37:32 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=868</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 6th of October 2010 with an awesome reivew of this years Flash on The Beach by Sandro and a very interesting and for sure useful talk about Android AIR development by Marcel. Hope to see you all there. Topic 1: Flash On the Beach [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 6th of October 2010 with an awesome reivew of this years Flash on The Beach by Sandro and a very interesting and for sure useful talk about Android AIR development by Marcel.<br />
Hope to see you all there.</p>
<p><strong>Topic 1:</strong> Flash On the Beach Review  (Sandro Ducceschi/ <a href="http://www.swfjunkie.com" target="_blank">swfjunkie.com</a>)</p>
<p><strong>Topic 2:</strong> Android Air Developement &#8211; part1( Marcel Vogt /<a href="http://www.publicis.com"> Publicis</a> )</p>
<p><strong>When:</strong> 06. October 2010 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur</a>, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F10%252F05%252F37-sfug-usergroup-meeting%252F&title=37.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+6th+of+October+2010+with+an+awesome+reivew+of+this+years+Flash+on+The+Beach+by+Sandro+and+a+very+interesting+and+for+sure+useful+talk+abou&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/10/05/37-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: OSMF LightweightElement</title>
		<link>http://blog.six4rty.ch/2010/10/02/as3-osmf-lightweightelement/</link>
		<comments>http://blog.six4rty.ch/2010/10/02/as3-osmf-lightweightelement/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 12:32:41 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[OSMF]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=861</guid>
		<description><![CDATA[You are in need of a simple video player, iightweight and easy to use? You think OSMF is too complicated, let me correct you and present you the LightVideoElement Class. Simple to use, quickly up and running and all needed &#8220;basic&#8221; features available. It&#8217;s even a default in OSMF, I actually wonder why no one [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/08/osmfcode.jpg"><img class="alignleft size-medium wp-image-807" style="margin: 10px;" title="osmfcode" src="http://blog.six4rty.ch/wp-content/uploads/2010/08/osmfcode-300x270.jpg" alt="" width="210" height="189" /></a>You are in need of a simple video player, iightweight and easy to use?<br />
You think OSMF is too complicated, let me correct you and present you the LightVideoElement Class.</p>
<p>Simple to use, quickly up and running and all needed &#8220;basic&#8221; features available.<br />
It&#8217;s even a default in OSMF, I actually wonder why no one has written about it yet, it&#8217;s really easy to use and you can do all the basic things with it that a videoplayer needs to support nowadays and on top of it, it&#8217;s only 10k when compiled.</p>
<p>I&#8217;ve been using it for the last 2 projects I&#8217;ve made, and I couldn&#8217;t be happier, let&#8217;s have a quick look on how to use it:<span id="more-861"></span></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">_mediaPlayerSprite		= <span style="color: #000000; font-weight: bold;">new</span> MediaPlayerSprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
_mediaPlayerSprite.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0x000000, <span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#41;</span>;
_mediaPlayerSprite.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">640</span>,<span style="color: #cc66cc;">360</span><span style="color: #66cc66;">&#41;</span>;
_mediaPlayerSprite.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
_videoElement			= <span style="color: #000000; font-weight: bold;">new</span> LightweightVideoElement<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
_videoElement.<span style="color: #006600;">resource</span>		= <span style="color: #000000; font-weight: bold;">new</span> URLResource<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;pathtoyourvideo.flv&quot;</span> <span style="color: #66cc66;">&#41;</span>;
_videoElement.<span style="color: #0066CC;">smoothing</span>		= <span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span> _mediaPlayerSprite <span style="color: #66cc66;">&#41;</span>;
_mediaPlayerSprite.<span style="color: #006600;">media</span>		= _videoElement;</pre></div></div>

<p>That&#8217;s it, no I&#8217;m not joking this is really it, you don&#8217;t need anything else to simply play a video,  now you might be asking yourself, well that&#8217;s cool but how can I control the playback? It&#8217; easy and very intuitive, basically you only need to access the mediaplayer instance which is integrated into the _mediaPlayerSprite, there all public methods like play, pause, stop, events and so on are available for you to use. take a look at some of the functions i implemented  to be able to control videoplayback.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	_mediaPlayerSprite.<span style="color: #006600;">mediaPlayer</span>.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">pause</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	_mediaPlayerSprite.<span style="color: #006600;">mediaPlayer</span>.<span style="color: #0066CC;">pause</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	_mediaPlayerSprite.<span style="color: #006600;">mediaPlayer</span>.<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> currentTime<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">int</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">return</span> _mediaPlayerSprite.<span style="color: #006600;">mediaPlayer</span>.<span style="color: #006600;">currentTime</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> videoDuration<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">int</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">return</span> _mediaPlayerSprite.<span style="color: #006600;">mediaPlayer</span>.<span style="color: #0066CC;">duration</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>See, simple, easy and lighting fast.<br />
But keep in mind that the LightWeightVideoElement has limited support, you can play every kind of flash supported videos, you can do everything a basic player needs to do, but as soon you start using SerialElements, Parallel elements and so on, then you should switch back to the default setup.<br />
As usual you can get all the information and documentation from the official <a href="http://www.opensourcemediaframework.com">OSMF</a> site.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F10%252F02%252Fas3-osmf-lightweightelement%252F&title=AS3%3A+OSMF+LightweightElement&desc=You+are+in+need+of+a+simple+video+player%2C+iightweight+and+easy+to+use%3F%0D%0AYou+think+OSMF+is+too+complicated%2C+let+me+correct+you+and+present+you+the+LightVideoElement+Class.%0D%0A%0D%0ASimple+to+use%2C+quickly+up+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/10/02/as3-osmf-lightweightelement/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: Embed specific characters</title>
		<link>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/</link>
		<comments>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 17:40:31 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=820</guid>
		<description><![CDATA[You might have read on one of my previous tweets, where I was screaming about using &#8220;special&#8221; characters in Flash, with &#8220;special&#8221; I mean arabic, cyrillic, hebrew, chinese simplified and traditional, as well japanese. I know,  I know, there is TLF (Text Layout Framework) that handles the whole text, but I&#8217;m talking about embedding the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-724" style="margin: 10px;" title="as3code" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code-300x270.jpg" alt="" width="210" height="189" /></p>
<p>You might have read on one of my previous tweets, where I was screaming about using &#8220;special&#8221; characters in Flash, with &#8220;special&#8221; I mean arabic, cyrillic, hebrew, chinese simplified and traditional, as well japanese.</p>
<p>I know,  I know, there is TLF (Text Layout Framework) that handles the whole text, but I&#8217;m talking about embedding the font, did you knew that the complete chinese Unicode range helds something around 20&#8217;000 characters? You might think so what? Let me tell you that the complete chinese character range is over 7MB big!!! Do you really want to let your viewers download a 7MB file just for the font? No.</p>
<p>So I&#8217;ve created a quick app that will enable you to read out the UTF code from the text you need to use, with it you can specifically embed only the characters you need and take the file size down to a minimum. Now there is only a downside of this method, if the textual content changes a day, you need to again import the new characters.<br />
Apart from that, I haven&#8217;t seen any bad things about this implementation.</p>
<p>At the end of this post you will find an useful small tool to get all the needed characters.<span id="more-820"></span></p>
<p>As an example below with this line you are embedding a font only containing numerals typing 1234567890 will give you a range from U+0030 to U+0039</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Embed(source=&quot;font_file_name&quot;, fontName=&quot;font_name&quot;, mimeType=&quot;application/x-font-truetype&quot;, unicodeRange=&quot;U+0030-U+0039,U+002E&quot;)]</pre></div></div>

<p>So let&#8217;s assume you would like to write this: <em>&#8220;Nemusíte oči vidět, musíte vidění&#8221;</em> which means <em>&#8220;You don&#8217;t need eyes to see, you need vision&#8221;</em> and only embed the needed characters, you would embed your font like this</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Embed(source=&quot;font_file_name&quot;, fontName=&quot;font_name&quot;,  mimeType=&quot;application/x-font-truetype&quot;,  unicodeRange=&quot;U+004e, U+0065, U+006d, U+0075, U+0073, U+00ed, U+0074, U+0065, U+0020,  U+006f, U+010d, U+0069, U+0020, U+0076, U+0069, U+0064, U+011b, U+0074,  U+002c, U+0020, U+006d, U+0075, U+0073, U+00ed, U+0074, U+0065, U+0020,  U+0076, U+0069, U+0064, U+011b, U+006e, U+00ed&quot;)]</pre></div></div>

<p>If you don&#8217;t know how to use this kind of font embedding, have a read here:<a href="http://soledadpenades.com/2008/10/21/embedding-fonts-in-actionscript-3-using-flex-sdk/" target="_blank"></p>
<p>http://soledadpenades.com/2008/10/21/embedding-fonts-in-actionscript-3-using-flex-sdk/</a></p>
<p>Test ride it your self and have fun <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="616" height="494">
      <param name="movie" value="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" />
      <param name="allowfullscreen" value="true" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" width="616" height="494" allowfullscreen="true">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F08%252F21%252Fas3-embed-specific-characters%252F&title=AS3%3A+Embed+specific+characters&desc=%0D%0A%0D%0AYou+might+have+read+on+one+of+my+previous+tweets%2C+where+I+was+screaming+about+using+%22special%22+characters+in+Flash%2C+with+%22special%22+I+mean+arabic%2C+cyrillic%2C+hebrew%2C+chinese+simplified+and+traditiona&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: Quickhint: Shared Objects</title>
		<link>http://blog.six4rty.ch/2010/07/24/as3-quick-hint-shared-objects/</link>
		<comments>http://blog.six4rty.ch/2010/07/24/as3-quick-hint-shared-objects/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 16:51:54 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Media Server]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Shared Object]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=542</guid>
		<description><![CDATA[Last week while working on the interface for my new upcoming library I needed a way to save some data on the users computer, altough I&#8217;m working with AIR I could easily save an xml or a txt file to the users local computer, but as soon as I would start writing a pure as3 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code.jpg"><img class="alignleft size-medium wp-image-724" style="margin: 10px;" title="as3code" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code-300x270.jpg" alt="" width="210" height="189" /></a></p>
<p>Last week while working on the interface for my new upcoming library I needed a way to save some data on the users computer, altough I&#8217;m working with AIR I could easily save an xml or a txt file to the users local computer, but as soon as I would start writing a pure as3 project I would have to rewrite it again, as I can&#8217;t be sure that the client will have Flash Player 10 or even the rights to save to it&#8217;s local harddisk, some people working at bigger companies are not allowed to save anything to their local harddisk due to security rights.</p>
<p>The solution for this is simple yet effective, you need to use SharedObjects aka. Cookies in Flash.</p>
<p>Shared Objects can do the following:</p>
<ul>
<li><strong>Maintain Local Persistence</strong>: Saves data locally on the users drive, for example you could save the last application state or the score of the last game, create a local highscore list and many many more applications for local use.</li>
<li><strong>Store and Share Data on FMS</strong>: Basically the same as before, but with the difference that you saving the shared object on a flash media server. Good thing about it, it can be shared throughout multiple computers, the same user using the same application on multiple computers can save its data on a server.</li>
<li><strong>Share data in realtime</strong>: using FMS you can aswell for example save the state of a multiuser application saving the current state of the applcation, every new user will get the current state based on the shared object</li>
</ul>
<p>More information about Shared Objects can be found <a href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html" target="_blank">HERE </a></p>
<p><span id="more-542"></span></p>
<p>Let me show you a few lines of code and explain what you can do with it.</p>
<p>The most basic example is how to write data into a shared object.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> _so:<span style="color: #0066CC;">SharedObject</span>;
_so = <span style="color: #0066CC;">SharedObject</span>.<span style="color: #0066CC;">getLocal</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;myLocalData&quot;</span><span style="color: #66cc66;">&#41;</span>;
_so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">firstname</span> = <span style="color: #ff0000;">&quot;myfirstname&quot;</span>;
_so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">lastname</span> = <span style="color: #ff0000;">&quot;mylastname&quot;</span>;
_so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">age</span> = <span style="color: #ff0000;">&quot;30&quot;</span>;
_so.<span style="color: #0066CC;">flush</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>In the example above we create a new variable called _so of the type SharedObject, after that we use the getLocal() method to create the shared object, if no shared object does not already exist it will be created. if the call fails or the parameters passed along are invalid, flash throws an exception. Calling the flush() method the data will be saved to the users local harddisk.</p>
<p>Next up lets see how you can read from a persistent shared object.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> _so:<span style="color: #0066CC;">SharedObject</span>;
_so = <span style="color: #0066CC;">SharedObject</span>.<span style="color: #0066CC;">getLocal</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;myLocalData&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> _so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">firstname</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//traces myfirstname</span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>_so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">lastname</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// traces mylastname</span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>_so.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">age</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// traces 30</span></pre></div></div>

<p>This time we do basically the same as before, but instead of saving data we call data, when calling _so.data.age you are going to grab the sharedobjects property named age which results in 30.</p>
<p>If you rather prefer to save SharedObjects to an FMS, you can use it this way:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> _nc:<span style="color: #0066CC;">NetConnection</span>;
<span style="color: #000000; font-weight: bold;">var</span> _so:<span style="color: #0066CC;">SharedObject</span>;
&nbsp;
_nc = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">NetConnection</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
_nc.<span style="color: #0066CC;">connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;rtmp://yourFMSserver/yourAppName&quot;</span><span style="color: #66cc66;">&#41;</span>;
_so = <span style="color: #0066CC;">SharedObject</span>.<span style="color: #006600;">getRemote</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;myRemoteData&quot;</span>, nc.<span style="color: #006600;">uri</span>, <span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>;
_so.<span style="color: #0066CC;">connect</span><span style="color: #66cc66;">&#40;</span> nc <span style="color: #66cc66;">&#41;</span>;
_so.<span style="color: #0066CC;">setProperty</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;names&quot;</span>, <span style="color: #66cc66;">&#123;</span>firstame:myfirstname, lastname:myLastname<span style="color: #66cc66;">&#125;</span> <span style="color: #66cc66;">&#41;</span>;
_so.<span style="color: #0066CC;">setProperty</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;age&quot;</span>, <span style="color: #66cc66;">&#123;</span><span style="color: #ff0000;">&quot;30&quot;</span><span style="color: #66cc66;">&#125;</span> <span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>This time we create a new NetConnection to the Flash Media Server and it&#8217;s application, calling the getRemote() method acts the same as using the getLocal() method, but you also need to pass the netconnections URI to be able to save the the sharedobject remotely.<br />
Differently from the local version we use the setProperty() method to save data on the remote Shared Object.</p>
<p>These are the basics for handling Shared Objects, if you have any further questions just drop me a line and I might be able to help you out.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F07%252F24%252Fas3-quick-hint-shared-objects%252F&title=AS3%3A+Quickhint%3A+Shared+Objects&desc=%0D%0A%0D%0ALast+week+while+working+on+the+interface+for+my+new+upcoming+library+I+needed+a+way+to+save+some+data+on+the+users+computer%2C+altough+I%27m+working+with+AIR+I+could+easily+save+an+xml+or+a+txt+file+t&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/07/24/as3-quick-hint-shared-objects/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>34. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/04/12/34-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/04/12/34-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:52:00 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=641</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 20h of April 2010 with the long awaited talk by Sandro about performance tweaks in AS3 and last but not least myself and Marcel Vogt are showcasing two demo apps we built using the the megaphone platform. Topic 1: AS3 Performance Tweaks ( Sandro [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 20h of April 2010 with the long awaited talk by Sandro about performance tweaks in AS3 and last but not least myself and Marcel Vogt are showcasing two demo apps we built using the the megaphone platform.</p>
<p><strong>Topic 1:</strong> AS3 Performance Tweaks ( Sandro Ducceschi /<a href="http://www.liip.ch/"> Liip AG</a> )</p>
<p><strong>Topic 2:</strong> Megaphone (Tiago Dias &amp; Marcel Vogt /<a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur BSW AG</a> )</p>
<p><strong>When:</strong> 20. April 2010 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.liip.ch" target="_blank"> </a><a href="http://www.publicis.ch/" target="_blank"> Publicis Werbeagentur BSW AG</a>, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about the single topics  can be found here: <a href="http://www.sfug.ch/?p=168" target="_blank">http://www.sfug.ch/?p=168</a></p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F04%252F12%252F34-sfug-usergroup-meeting%252F&title=34.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+20h+of+April+2010+with+the+long+awaited+talk+by+Sandro+about+performance+tweaks+in+AS3+and+last+but+not+least+myself+and+Marcel+Vogt+are+s&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/04/12/34-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>33. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/02/28/33-sfug-usergroup-meeting-3/</link>
		<comments>http://blog.six4rty.ch/2010/02/28/33-sfug-usergroup-meeting-3/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 13:11:22 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=637</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 16h of March 2010 with an awesome topic on restfulX by Rafael Beck and a very interesting and for sure useful talk about performance tweaking by Sandro. Topic 1: RESTfulX &#8211; Flex on Rails  (Rafael Beck/ 19m2.ch) Topic 2: AS3 Performance Tweaks ( Sandro [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 16h of March 2010 with an awesome topic on restfulX by Rafael Beck and a very interesting and for sure useful talk about performance tweaking by Sandro.</p>
<p><strong>Topic 1:</strong> RESTfulX &#8211; Flex on Rails  (Rafael Beck/ <a href="http://www.19m2.ch">19m2.ch</a>)</p>
<p><strong>Topic 2:</strong> AS3 Performance Tweaks ( Sandro Ducceschi /<a href="http://www.liip.ch"> Liip AG</a> )</p>
<p><strong>When:</strong> 16. March 2010 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.liip.ch" target="_blank"> Liip AG</a>, Feldstrasse 133, 8004 Zürich</p>
<p>More information about the single topics  can be found here: <a href="http://www.sfug.ch/?p=162" target="_blank">http://www.sfug.ch/?p=162</a></p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F02%252F28%252F33-sfug-usergroup-meeting-3%252F&title=33.+SFUG+Usergroup+Meeting&desc=%0D%0A%0D%0AThe+next+SFUG+%28Swiss+Flash+User+Group%29+takes+place+on+the+16h+of+March+2010+with+an+awesome+topic+on+restfulX+by+Rafael+Beck+and+a+very+interesting+and+for+sure+useful+talk+about+performance+tweak&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/02/28/33-sfug-usergroup-meeting-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: quick hint &#8211; Converting int to date</title>
		<link>http://blog.six4rty.ch/2009/04/27/as3-quick-hint-converting-int-to-date/</link>
		<comments>http://blog.six4rty.ch/2009/04/27/as3-quick-hint-converting-int-to-date/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 14:21:41 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=557</guid>
		<description><![CDATA[Ok, this just drove me nuts for a few minutes.. I&#8217;m getting the server time UNIX formatted, I was constantly trying to convert the integer to a readable date, constantly getting the wrong year (the default or zero unix year is 1970) but aren&#8217;t we living in 2009? So for future reference and for anyone [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this just drove me nuts for a few minutes..</p>
<p>I&#8217;m getting the server time UNIX formatted, I was constantly trying to convert the integer to a readable date, constantly getting the wrong year (the default or zero unix year is 1970) but aren&#8217;t we living in 2009?</p>
<p>So for future reference and for anyone that might be searching for this.</p>
<p>Unix time is seconds based, Flash time is milliseconds based. got it?<br />
So anytime you get a unix time integer you just need to multiply by 1000 to get the correct time for your Flash project.</p>
<p>Example:</p>
<p><strong>GOOD CODE</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">curDate                = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>dateXML.<span style="color: #0066CC;">int</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><strong>BAD CODE</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">curDate                = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>dateXML.<span style="color: #0066CC;">int</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F04%252F27%252Fas3-quick-hint-converting-int-to-date%252F&title=AS3%3A+quick+hint+-+Converting+int+to+date&desc=Ok%2C+this+just+drove+me+nuts+for+a+few+minutes..%0D%0A%0D%0AI%27m+getting+the+server+time+UNIX+formatted%2C+I+was+constantly+trying+to+convert+the+integer+to+a+readable+date%2C+constantly+getting+the+wrong+year+%28the&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/04/27/as3-quick-hint-converting-int-to-date/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
	</channel>
</rss>

