<?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; General</title>
	<atom:link href="http://blog.six4rty.ch/category/general/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>Flex Mobile Tour makes halt in Zurich</title>
		<link>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/</link>
		<comments>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 14:06:29 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Meetings]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1085</guid>
		<description><![CDATA[<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%252F11%252F01%252Fflex-mobile-tour-makes-halt-in-zurich%252F&title=Flex+Mobile+Tour+makes+halt+in+Zurich&desc=Do+you+live+in+Switzerland%3F%0D%0AAre+you+up+for+a+great+hands+on+session+with+Ryan+Stewart+and+Mihai+Corlan%3F+Then+you+shouldn%27t+miss+the+Adobe+Flex+Mobile+Tour+2011%0D%0A%0D%0AYou+can+register+here%2C+right+now+for&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>Do you live in Switzerland? Are you up for a great hands on session with Ryan Stewart and Mihai Corlan? Then you shouldn&#8217;t miss the Adobe Flex Mobile Tour 2011 You can register here, right now for a limited seat, so don&#8217;t miss the chance: Online event registration for Flex Mobile European Tour 2011 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<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%252F11%252F01%252Fflex-mobile-tour-makes-halt-in-zurich%252F&title=Flex+Mobile+Tour+makes+halt+in+Zurich&desc=Do+you+live+in+Switzerland%3F%0D%0AAre+you+up+for+a+great+hands+on+session+with+Ryan+Stewart+and+Mihai+Corlan%3F+Then+you+shouldn%27t+miss+the+Adobe+Flex+Mobile+Tour+2011%0D%0A%0D%0AYou+can+register+here%2C+right+now+for&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><p>Do you live in Switzerland?<br />
Are you up for a great hands on session with <a href="http://blog.digitalbackcountry.com/" target="_blank">Ryan Stewart</a> and <a href="http://www.corlan.org" target="_blank">Mihai Corlan</a>? <strong>Then you shouldn&#8217;t miss the Adobe Flex Mobile Tour 2011</strong></p>
<p>You can register here, right now for a limited seat, so don&#8217;t miss the chance:</p>
<div style="width: 100%; text-align: left;">
<p><iframe src="http://www.eventbrite.com/tickets-external?eid=2357154312&amp;ref=etckt" frameborder="0" marginwidth="5" marginheight="5" scrolling="auto" width="100%" height="192"></iframe></p>
<div style="font-family: Helvetica, Arial; font-size: 10px; padding: 5px 0 5px; margin: 2px; width: 100%; text-align: left;"><a style="color: #ddd; text-decoration: none;" href="http://www.eventbrite.com/r/etckt" target="_blank">Online event registration</a><span style="color: #ddd;"> for </span><a style="color: #ddd; text-decoration: none;" href="http://mobileflextourzurich.eventbrite.com?ref=etckt" target="_blank">Flex Mobile European Tour 2011 &#8211; Zurich</a><span style="color: #ddd;"> powered by </span><a style="color: #ddd; text-decoration: none;" href="http://www.eventbrite.com?ref=etckt" target="_blank">Eventbrite</a></div>
</div>
<p>Hang on you don&#8217;t live in Switzerland but in another European Country? Don&#8217;t worry Ryan Stewart and Mihai Corlan will be travelling around Europe to show the latest greatest features of Flex for Mobile Devices. Mihai posted a tour list on his blog: <a href="http://corlan.org/2011/10/27/flex-mobile-european-tour-2011/">http://corlan.org/2011/10/27/flex-mobile-european-tour-2011/</a></p>
<p>Don&#8217;t miss the great opportunity!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>another blog, more authors</title>
		<link>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/</link>
		<comments>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 08:08:21 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1062</guid>
		<description><![CDATA[<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%252F03%252F22%252Fanother-blog-more-authors%252F&title=another+blog%2C+more+authors&desc=%0D%0A%0D%0ATwo+weeks+ago+me+and+my+fellow+co-workers+have+started+our+company+blog+which+can+be+reached+at%0D%0Ahttp%3A%2F%2Fblog.publicis-modem.ch+every+open+source+initiative%2C+project+or+library+that+we+create+will+&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>Two weeks ago me and my fellow co-workers have started our company blog which can be reached at http://blog.publicis-modem.ch every open source initiative, project or library that we create will be published there. I might do a cross link to a blog post or even write a little more about it, but I think you [...]]]></description>
			<content:encoded><![CDATA[<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%252F03%252F22%252Fanother-blog-more-authors%252F&title=another+blog%2C+more+authors&desc=%0D%0A%0D%0ATwo+weeks+ago+me+and+my+fellow+co-workers+have+started+our+company+blog+which+can+be+reached+at%0D%0Ahttp%3A%2F%2Fblog.publicis-modem.ch+every+open+source+initiative%2C+project+or+library+that+we+create+will+&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><p><a href="http://blog.publicis-modem.ch"><img class="alignnone size-full wp-image-1065" title="blogModem" src="http://blog.six4rty.ch/wp-content/uploads/2011/03/blogModem.jpg" alt="" width="620" height="252" /></a></p>
<p>Two weeks ago me and my fellow co-workers have started our company blog which can be reached at<br />
<a href="http://blog.publicis-modem.ch" target="_blank">http://blog.publicis-modem.ch</a> every open source initiative, project or library that we create will be published there.<br />
I might do a cross link to a blog post or even write a little more about it, but I think you should keep an eye over there aswell, we already released two opensource projects (<a href="http://opensource.publicis-modem.ch/websvn/listing.php?repname=Open+Source+at+Publicis+Modem+Repository&amp;path=%2Fwallago%2Ftrunk%2Fsrc%2F&amp;#a820ba52e91ea86abf879a04967ee2ccc" target="_blank">wallaGo </a>and <a href="http://opensource.publicis-modem.ch/websvn/listing.php?repname=Open+Source+at+Publicis+Modem+Repository&amp;path=%2Fas3square%2Ftrunk%2Fsrc%2F&amp;#a8ac9b707f5b226f9b5e414505c42f451" target="_blank">AS3Square</a>) and there is more to come soon, so stay tuned for some fresh content and don&#8217;t forget to bookmark a new fresh blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<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[<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>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[<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><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>
]]></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[<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>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[<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><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>

]]></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>gotoandski &#8211; the switzerland edition</title>
		<link>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/</link>
		<comments>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 14:23:34 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[speaking]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=963</guid>
		<description><![CDATA[<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%252F12%252Fgotoandski-the-switzerland-edition%252F&title=gotoandski+-+the+switzerland+edition&desc=%0D%0A%0D%0AAfter+last+years+success+in+Norway%2C+gotoAndSki%28%29%3B+is+taking+place+in+Switzerland+this+year+organised+by+Fernado+Cola%C3%A7o+%28%40fcolaco%29%2C+to+be+more+precise%C2%A0in+Stechelberg%2C+Bern%2C+located+in+the+Lauterb&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>After last years success in Norway, gotoAndSki(); is taking place in Switzerland this year organised by Fernado Colaço (@fcolaco), to be more precise in Stechelberg, Bern, located in the Lauterbrunnen Valley which is world known for the best place in Europe for Base Jumping. The format of the conference will stay the same like last years, [...]]]></description>
			<content:encoded><![CDATA[<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%252F12%252Fgotoandski-the-switzerland-edition%252F&title=gotoandski+-+the+switzerland+edition&desc=%0D%0A%0D%0AAfter+last+years+success+in+Norway%2C+gotoAndSki%28%29%3B+is+taking+place+in+Switzerland+this+year+organised+by+Fernado+Cola%C3%A7o+%28%40fcolaco%29%2C+to+be+more+precise%C2%A0in+Stechelberg%2C+Bern%2C+located+in+the+Lauterb&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><p><img class="alignnone size-full wp-image-966" title="gotoski" src="http://blog.six4rty.ch/wp-content/uploads/2010/12/gotoski1.jpg" alt="" width="620" height="252" /></p>
<p>After last years success in Norway, gotoAndSki(); is taking place in Switzerland this year organised by Fernado Colaço (<a href="http://twitter.com/fcolaco" target="_blank">@fcolaco</a>), to be more precise in Stechelberg, Bern, located in the Lauterbrunnen Valley which is world known for the best place in Europe for Base Jumping. The format of the conference will stay the same like last years, during the day doing some winter sports like snowboarding, skiing, Airboarding or just chilling at the slopes. After the slopes close the sessions and workshops will start in the cozy chalet, meanwhile we should know eachother quite well as there are only around 100 tickets to be sold.<span id="more-963"></span></p>
<p>The speaker session lineup has not been finalized yet, but you might see some names you already know and if not, it doesn&#8217;t matter really as you are going to experience a totally cool conference with the swiss alps charm.</p>
<p>If you haven&#8217;t booked your ticket yet, then don&#8217;t hesitate and jump right to the website and get your <a href="http://switzerland.gotoandski.com/" target="_blank">tickets here</a></p>
<p>By looking at the speakers line-up, there are a few well known speakers from the SFUG, but as well a few international speakers with some very very interesting topics, every session looks promising and interesting to me, but I&#8217;m personally looking forward to Dennis Ippels Kinect session and Ricardo Castelhano&#8217;s Arduino session.</p>
<p>I&#8217;m doing a presentation on AIR for TV, where I&#8217;m going to go through the process of creating an application for TV&#8217;s aswell some pitfalls, things you should be aware of when developing for TV and at the end we are going to have a little multiplayer game running on the big screen.</p>
<p>If you are up for a few days in the snow with some cool people and to see some great cool new projects and approaches, then don&#8217;t miss the chance to get yourself a ticket and enjoy this event.<br />
Below you find a small link collection with the most important informations:</p>
<p><a href="http://switzerland.gotoandski.com/s" target="_blank">gotoAndSki(); &#8211; Official Website</a><br />
<a href="http://gotoandskiswitzerland.eventbrite.com/" target="_blank">gotoAndSki(); &#8211; Get your tickets now.</a><br />
<a href="http://switzerland.gotoandski.com/sessions-speakers/" target="_blank">gotoAndSki(); &#8211; Sessions and Speakers</a><br />
<a href="http://switzerland.gotoandski.com/how-to-get-there/" target="_blank">gotoAndSki(); &#8211; Getting There</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/feed/</wfw:commentRss>
		<slash:comments>0</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[<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>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[<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><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>
]]></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>SWFObject &amp; SWFAddress &#8211; compatibility</title>
		<link>http://blog.six4rty.ch/2010/07/09/swfobject-swfaddress-compatibility/</link>
		<comments>http://blog.six4rty.ch/2010/07/09/swfobject-swfaddress-compatibility/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 12:40:37 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SWFAddress]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=708</guid>
		<description><![CDATA[<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%252F09%252Fswfobject-swfaddress-compatibility%252F&title=SWFObject+%26+SWFAddress+-+compatibility&desc=%0D%0A%0D%0AWho+doesn%27t+know+SWFObject+%26amp%3B+SWFAddress%3F+These+two+JavaScript+buddies+are+the+best+a+serious+Flash+Developer+can+have.%0D%0A%0D%0ASWFObject+embeds+your+Flash+nicely+and+browser+independent%2C+it+has+gon&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>Who doesn&#8217;t know SWFObject &#38; SWFAddress? These two JavaScript buddies are the best a serious Flash Developer can have. SWFObject embeds your Flash nicely and browser independent, it has gone a long way and now it&#8217;s even the default publishing method in Flash Builder and Flash Catalyst (not sure about Flash CS5 ), you can [...]]]></description>
			<content:encoded><![CDATA[<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%252F09%252Fswfobject-swfaddress-compatibility%252F&title=SWFObject+%26+SWFAddress+-+compatibility&desc=%0D%0A%0D%0AWho+doesn%27t+know+SWFObject+%26amp%3B+SWFAddress%3F+These+two+JavaScript+buddies+are+the+best+a+serious+Flash+Developer+can+have.%0D%0A%0D%0ASWFObject+embeds+your+Flash+nicely+and+browser+independent%2C+it+has+gon&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><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/swfObjaddImg.jpg"><img class="alignnone size-medium wp-image-709" title="swfObjaddImg" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/swfObjaddImg-300x90.jpg" alt="" width="300" height="90" /></a></p>
<p>Who doesn&#8217;t know SWFObject &amp; SWFAddress? These two JavaScript buddies are the best a serious Flash Developer can have.</p>
<p><a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject </a>embeds your Flash nicely and browser independent, it has gone a long way and now it&#8217;s even the default publishing method in Flash Builder and Flash Catalyst (not sure about Flash CS5 ), you can read a more detailed history on the <a href="http://code.google.com/p/swfobject/wiki/history" target="_blank">projects history site</a>.</p>
<p><a href="http://www.asual.com/swfaddress/" target="_blank">SWFAddress </a>is a small library that provides deep-linking functionality in your Flash projects, it enables you to create unique virtual URL&#8217;s which enables Search Engines to index your flash content and of course the utilisation of the browsers back and forward buttons eg. history capabilities.<br />
<span id="more-708"></span></p>
<p>Usually in our development process we integrate these 2 buddies right at the beginning of the project, before we even code any AS3 line, these two are already in the html template inside FlashBuilder. Last time I started a new project I downloaded the latest versions (at that time) from these libraries and implemented them. Everything was working fine, and it works fine, but sadly only on FF3+ and IE8.. what happened to the strength of SWFObject?</p>
<p>After scrolling through a few posts and forums I decided to gradually downgrade every version of each Library backwards to see what happens. I must mention that the default embedding and display of flash content works perfectly, but when you need to send flashvars or parameters to your swf, there&#8217;s when things break.</p>
<p><strong>Solution?</strong><br />
It&#8217;s an easy one, but painful to find out as it took me a few hours to get it to work.<br />
SWFObject and SWFAddress are in deed buddies, but they need to be coordinated  properly.</p>
<p><strong>First pitfall:</strong><br />
The order that the javascript is being placed is very important, you <strong>NEED </strong>to place it in the order:<br />
1. SWFObject 2. SWFAddress all other Javascripts you might have in place shouldn&#8217;t bother these two, but it&#8217;s always safer to put your custom stuff after the SWFAddress import.</p>
<p><strong>Second pitfall:</strong><br />
There are various versions of each library some work together some don&#8217;t. I didn&#8217;t had the time to create a nice working table, but I promise you that I&#8217;m going to post one in the near future, but I can tell you what definately works 100%, SWFObject 2.2 &amp; SWFAddress 2.2, yes both libraries with the same version number.</p>
<p><strong>Third pitfall:</strong><br />
Sometimes ( I can&#8217;t tell you in which formation ) flashvars as parameters don&#8217;t get through to the SWF, the only workaround I found was to instead of using a parameters array I&#8217;ve passed an arguments array, that fixed all the troubles.</p>
<p>I know it&#8217; s weird and I would like to elaborate more on this, but currently I just don&#8217;t have the time to do it, but don&#8217;t be afraid I will get a list up soon with my testing results.<br />
If you have any questions to this topic, drop me a line and I will try to help you out.</p>
<p><strong>UPDATE:</strong><br />
Changed version numbers from 2.3 to 2.2, thanks to Ven</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/07/09/swfobject-swfaddress-compatibility/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Must have: SWFFit</title>
		<link>http://blog.six4rty.ch/2010/07/09/must-have-swffit/</link>
		<comments>http://blog.six4rty.ch/2010/07/09/must-have-swffit/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 10:09:41 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=700</guid>
		<description><![CDATA[<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%252F09%252Fmust-have-swffit%252F&title=Must+have%3A+SWFFit&desc=%0D%0A%0D%0ADuring+the+last+project+I+worked+on+for+ChocolatFrey+I+had+a+small+problem+that+was+bugging+me.+with+the+help+of+our+inhouse+stagemanager+class+where+you+can+define+minimum+width+%26amp%3B+height+of+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>During the last project I worked on for ChocolatFrey I had a small problem that was bugging me. with the help of our inhouse stagemanager class where you can define minimum width &#38; height of the stage the flash website always looked good, but as sson as the screen was smaller then the minimum defined [...]]]></description>
			<content:encoded><![CDATA[<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%252F09%252Fmust-have-swffit%252F&title=Must+have%3A+SWFFit&desc=%0D%0A%0D%0ADuring+the+last+project+I+worked+on+for+ChocolatFrey+I+had+a+small+problem+that+was+bugging+me.+with+the+help+of+our+inhouse+stagemanager+class+where+you+can+define+minimum+width+%26amp%3B+height+of+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><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/swffit_logo.gif"><img class="alignnone size-full wp-image-701" title="swffit_logo" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/swffit_logo.gif" alt="" width="123" height="92" /></a></p>
<p>During the last project I worked on for <a title="Chocolat Frey" href="http://www.chocolatfrey.com" target="_blank">ChocolatFrey</a> I had a small problem that was bugging me. with the help of our inhouse stagemanager class where you can define minimum width &amp; height of the stage the flash website always looked good, but as sson as the screen was smaller then the minimum defined width &amp; height it broke the layout.<br />
After a few minutes of searching I found this awesome little JavaScript called <a href="http://swffit.millermedeiros.com/" target="_blank">SWFFit </a>it resizes the flash movie based on the minimum dimensions set.</p>
<p>The usage of it is let&#8217;s say SIMPLE!! Even if you didn&#8217;t really care about JS, you can easily understand how it works, this is a simple example of how to use it:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">swffit.<span style="color: #660066;">fit</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;my_flash&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">960</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">670</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><span id="more-700"></span><br />
What the script above would do, is just create browser scrollbars when the defined size has been reached.<br />
You can even set more options like min/max width &amp; height and how the flash content should be centered.</p>
<p>Below a short explanation of the possible options:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">swffit.<span style="color: #660066;">fit</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'flashID'</span><span style="color: #339933;">,</span> minW<span style="color: #339933;">,</span> minH<span style="color: #339933;">,</span> maxW<span style="color: #339933;">,</span> maxH<span style="color: #339933;">,</span> hCenter<span style="color: #339933;">,</span> vCenter<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>flashID: the id of the flash embed/object tag<br />
minW: minimum width in pixels<br />
minH: minimum height in pixels<br />
maxW: maximum width in pixels<br />
maxH: maximumheight in pixels<br />
hCenter: flash content will be centered horizontally when the maximum size has been reached ( Boolean )<br />
vCenter: flash content will be centered vertically when the maximum size has  been reached ( Boolean )</p>
<p>This is one of the Javascripts that should always be handy as Flash Developer together with <a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject </a>&amp; <a href="http://www.asual.com/swfaddress/" target="_blank">SWFAddress</a>.</p>
<p>So go have a look at it, and try it out, I can only recommend it and give a big thank you out to <a href="http://www.millermedeiros.com/" target="_blank">Miller Medeiros</a> for sharing this with us.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/07/09/must-have-swffit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>OSMF is here!</title>
		<link>http://blog.six4rty.ch/2010/05/31/osmf-is-here/</link>
		<comments>http://blog.six4rty.ch/2010/05/31/osmf-is-here/#comments</comments>
		<pubDate>Mon, 31 May 2010 07:18:18 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[OSMF]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=658</guid>
		<description><![CDATA[<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%252F05%252F31%252Fosmf-is-here%252F&title=OSMF+is+here%21&desc=%0D%0A%0D%0AYay%21+the%C2%A0+open+source+media+framework+just+went+into+production+release+1.0.%0D%0AI%27ve+been+working+with+the+early+betas+of+OSMF+and+it+just+rocks+to+see+such+a+project+going+into+production+state%2C+F&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>Yay! the  open source media framework just went into production release 1.0. I&#8217;ve been working with the early betas of OSMF and it just rocks to see such a project going into production state, Flash developers need to constantly build audio/videoplayers ranging from simple video playback to very complex situations like playing multiple video formats [...]]]></description>
			<content:encoded><![CDATA[<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%252F05%252F31%252Fosmf-is-here%252F&title=OSMF+is+here%21&desc=%0D%0A%0D%0AYay%21+the%C2%A0+open+source+media+framework+just+went+into+production+release+1.0.%0D%0AI%27ve+been+working+with+the+early+betas+of+OSMF+and+it+just+rocks+to+see+such+a+project+going+into+production+state%2C+F&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><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/05/osmfLogo.jpg"><img class="alignnone size-full wp-image-660" title="osmfLogo" src="http://blog.six4rty.ch/wp-content/uploads/2010/05/osmfLogo.jpg" alt="" width="253" height="64" /></a></p>
<p>Yay! the  open source media framework just went into production release 1.0.<br />
I&#8217;ve been working with the early betas of OSMF and it just rocks to see such a project going into production state, Flash developers need to constantly build audio/videoplayers ranging from simple video playback to very complex situations like playing multiple video formats with multiple lengths while keeping it dynamic, using posterframes, prerolls, in-video advertisement and much much more, either you developed your own media player framework to cope with the needs or you had to build your play from the groundup everytime you got such a request. With OSMF you have a stable framework that allows you to create mediaplayers  quick and easy but also fully customizable.</p>
<p><span id="more-658"></span>But like I said, it&#8217;s a FRAMEWORK!!! it&#8217;s by no means a finalized player with all the buttons and thingys you want, if you are searching for that then use the Videoplayer component or do a google search for an open source videoplayer, there are dozens of them on the net.</p>
<p><strong>So What is OSMF?</strong><br />
OSMF is a mediaframework that simplifies the development of media players by allowing developers to assemble bits &amp; pieces to create a full-featuerd mediaplayback solution.</p>
<p><strong>Come on, I don&#8217;t want to code another player with another codebase<br />
</strong>by no means I&#8217;m telling you to switch all your projects over to OSMF, but I really really recommend you to have a look at what is possible with it. My last project was creating a mediaplayer that shows a swf, an image and  an flv or mp4 one after the other, if I would be building this without OSMF it would have taken me at least 2-3days, with OSMF it only took me 2 hours to get into the logic of OSMF and having a prototype style mediaplayer running, with all the features the client requested.</p>
<p><strong>Give me the player I don&#8217;t care about framework</strong><br />
Ok fine, Adobe also pre-released the Strobe Media Playback media player, which you quickly integrate into any websitem it&#8217;s a compiled SWF available here:<a href="http://www.opensourcemediaframework.com/strobe_prerelease.html" target="_blank"> http://www.opensourcemediaframework.com/strobe_prerelease.html</a><br />
You use the player, you configure the player through the HTML file (flash vars) and that&#8217;s it, now you saying aren&#8217;t there enough players around that can do that?</p>
<p>Probably yes, but do those players also support all of this?<br />
- Progressive Download<br />
- RTMP streaming<br />
- Live streaming<br />
- HTTP Dynamic Streaming<br />
- Content Protection<br />
- and much much more</p>
<p>Below a few links to useful information about OSMF &amp; Strobe Media Playback<br />
<a href="http://www.opensourcemediaframework.com/" target="_blank">More about OSMF </a><br />
<a href="http://www.opensourcemediaframework.com/strobe_prerelease.html" target="_blank">More about Strobe</a><br />
<a href="http://www.osmfappstudio.com/" target="_blank">OSMF AppStudio</a></p>
<p>And a few useful blogs from the contributors and developers of OSMF<br />
<a href="http://blogs.adobe.com/osmf/" target="_blank">Official OSMF blog</a><br />
<a href="http://david.realeyes.com/?cat=6" target="_blank">David Hassoun</a><br />
<a href="http://blogs.provenwebvideo.com/" target="_blank">Greg Hamer</a><br />
<a href="http://blogs.adobe.com/ktowes/" target="_blank">Kevin Towes</a></p>
<p>The developer documentation can be found <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html?filter_osmf=1&amp;filter_flashplayer=10&amp;filter_air=1.5" target="_blank">here </a>and a quick start guide to OSMF can be found <a href="http://help.adobe.com/en_US/OSMF/1.0/Dev/index.html" target="_blank">here</a>.</p>
<p>Now go out there and create some really cool players!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/05/31/osmf-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe Developer Week</title>
		<link>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/</link>
		<comments>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:56:02 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=645</guid>
		<description><![CDATA[<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%252Fadobe-developer-week%252F&title=Adobe+Developer+Week&desc=%0D%0A%0D%0ADuring+Developer+Week%2C+learn+about+the+Adobe%C2%AE+Flash%C2%AE+Platform%2C+including+Adobe%C2%AE+Flex%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Builder%E2%84%A2%2C+Adobe%C2%AE+AIR%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Player%2C+and+how+it+integrates+with+Adobe%C2%AE+Cre&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>During Developer Week, learn about the Adobe® Flash® Platform, including Adobe® Flex®, Adobe® Flash® Builder™, Adobe® AIR®, Adobe® Flash® Player, and how it integrates with Adobe® Creative Suite® 5 technologies. This weeklong event features free, live webinars presented by Adobe technology experts. See live demos and have your questions answered by the experts during interactive [...]]]></description>
			<content:encoded><![CDATA[<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%252Fadobe-developer-week%252F&title=Adobe+Developer+Week&desc=%0D%0A%0D%0ADuring+Developer+Week%2C+learn+about+the+Adobe%C2%AE+Flash%C2%AE+Platform%2C+including+Adobe%C2%AE+Flex%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Builder%E2%84%A2%2C+Adobe%C2%AE+AIR%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Player%2C+and+how+it+integrates+with+Adobe%C2%AE+Cre&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><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/04/DeveloperWeek_Photobanner.jpg"><img class="alignnone size-medium wp-image-646" title="DeveloperWeek_Photobanner" src="http://blog.six4rty.ch/wp-content/uploads/2010/04/DeveloperWeek_Photobanner-300x123.jpg" alt="" width="300" height="123" /></a></p>
<p>During Developer Week, learn about the Adobe® Flash® Platform, including Adobe® Flex®, Adobe® Flash® Builder™, Adobe® AIR®, Adobe® Flash® Player, and how it integrates with Adobe® Creative Suite® 5 technologies. This weeklong event features free, live webinars presented by Adobe technology experts. See live demos and have your questions answered by the experts during interactive Q&amp;A sessions.</p>
<p>Want to attend? Nothing easier then that! Just jump over directly here:<br />
<a href="http://www.adobe.com/cfusion/event/index.cfm?event=detail&amp;id=1489921&amp;loc=en_us" target="_blank">http://www.adobe.com/cfusion/event/index.cfm?event=detail&amp;id=1489921&amp;loc=en_us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Zinc &#8211; Saving images</title>
		<link>http://blog.six4rty.ch/2009/12/02/zinc-saving-images/</link>
		<comments>http://blog.six4rty.ch/2009/12/02/zinc-saving-images/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 19:48:00 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Zinc]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=616</guid>
		<description><![CDATA[<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%252F12%252F02%252Fzinc-saving-images%252F&title=Zinc+-+Saving+images&desc=It+was+obvious+that+I+had+to+write+a+few+more+lines+about+Zinc+in+the+near+future%2C+but+somehow+this+topic+didn%27t+leave+me+alone+at+all%2C+and+no%2C+I%27m+not+writing+about+Zinc+because+I+like+it%2C+I%27m+writin&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>It was obvious that I had to write a few more lines about Zinc in the near future, but somehow this topic didn&#8217;t leave me alone at all, and no, I&#8217;m not writing about Zinc because I like it, I&#8217;m writing this because I don&#8217;t want that other people fall into the traps I fell [...]]]></description>
			<content:encoded><![CDATA[<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%252F12%252F02%252Fzinc-saving-images%252F&title=Zinc+-+Saving+images&desc=It+was+obvious+that+I+had+to+write+a+few+more+lines+about+Zinc+in+the+near+future%2C+but+somehow+this+topic+didn%27t+leave+me+alone+at+all%2C+and+no%2C+I%27m+not+writing+about+Zinc+because+I+like+it%2C+I%27m+writin&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><p>It was obvious that I had to write a few more lines about Zinc in the near future, but somehow this topic didn&#8217;t leave me alone at all, and no, I&#8217;m not writing about Zinc because I like it, I&#8217;m writing this because I don&#8217;t want that other people fall into the traps I fell while using it. Do I like Zinc? Yes &amp; No, it&#8217;s a very weird situation, it&#8217;s useful, it would be even more useful if they would do their job right, but <a href="http://blog.six4rty.ch/2009/11/29/zinc-a-love-hate-relationship/" target="_blank">I already wrote about it here</a>. So let&#8217;s leave this discussion out of here.</p>
<p>So let&#8217;s begin from the ground up, your goal is to resize and save the newly resized files back again into a jpeg. Sounds easy?<br />
It should be but it isn&#8217;t!!</p>
<p>First of all I have to tell you that I began my project with Zinc 3.0 which supports bytearrays, it was really cool to work with it, as I was able to use the JPEGEncoder class that anyway writes bytearrays.</p>
<p><span id="more-616"></span></p>
<p>Let&#8217;s look at the methods available:<br />
<em>setData();<br />
writeData();<br />
</em><em>setDataBA();<br />
writeDataBA();</em></p>
<p>You would achieve our goal somehow like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> bmp:Bitmap = DisplayToBitmap.<span style="color: #006600;">draw</span><span style="color: #66cc66;">&#40;</span>bSprite, <span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> bmd:BitmapData = <span style="color: #000000; font-weight: bold;">new</span> BitmapData<span style="color: #66cc66;">&#40;</span>bmp.<span style="color: #0066CC;">width</span>, bmp.<span style="color: #0066CC;">height</span><span style="color: #66cc66;">&#41;</span>;
bmd.<span style="color: #006600;">draw</span><span style="color: #66cc66;">&#40;</span>bmp<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> jpgEnc:JPGEncoder = <span style="color: #000000; font-weight: bold;">new</span> JPGEncoder<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">85</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> jpgStream:ByteArray = jpgEnc.<span style="color: #006600;">encode</span><span style="color: #66cc66;">&#40;</span>bmd<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> jpgPath:<span style="color: #0066CC;">String</span> = persFolder + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>My Pictures<span style="color: #000099; font-weight: bold;">\\</span>myScreensaverThumbs<span style="color: #000099; font-weight: bold;">\\</span>&quot;</span> + _arrayCCopy<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;
&nbsp;
_convertedArray.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>jpgPath<span style="color: #66cc66;">&#41;</span>;
&nbsp;
mdm.<span style="color: #006600;">FileSystem</span>.<span style="color: #006600;">BinaryFile</span>.<span style="color: #006600;">setDataBA</span><span style="color: #66cc66;">&#40;</span>jpgStream<span style="color: #66cc66;">&#41;</span>;
mdm.<span style="color: #006600;">FileSystem</span>.<span style="color: #006600;">BinaryFile</span>.<span style="color: #006600;">writeDataBA</span><span style="color: #66cc66;">&#40;</span>jpgPath<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>But since I had to use Zinc 2.5 because of performance problems with the application, guess what? You don&#8217;t have the possibility to write a bytearray down to the harrdisk with the <em>writeDataBA()</em> method. So how the heck are you going to write a jpeg?</p>
<p>Let&#8217;s look at the methods available:<br />
<em>setData();<br />
writeData();</em></p>
<p>Yeh, it&#8217;s not much, and yeh it didn&#8217;t change a lot in Zinc 3.0 besides that you can write Bytearrays.<br />
So what you have to do is basicall write HEX code or Pipe ( | ) delimited strings, do that on a few dozen images and you can go get a cup of coffee and when you back it might be done by then.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> bmp:Bitmap = DisplayToBitmap.<span style="color: #006600;">draw</span><span style="color: #66cc66;">&#40;</span>sp, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> pngBA:ByteArray = PNGEncoder.<span style="color: #006600;">encode</span><span style="color: #66cc66;">&#40;</span>bmp.<span style="color: #006600;">bitmapData</span><span style="color: #66cc66;">&#41;</span>;
MonsterDebugger.<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, pngBA<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> dataString:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;&quot;</span>;
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:uint=<span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; pngBA.<span style="color: #0066CC;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>i<span style="color: #66cc66;">&amp;</span>gt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#123;</span>
	dataString += <span style="color: #ff0000;">&quot;|&quot;</span>;
    <span style="color: #66cc66;">&#125;</span>
    dataString += pngBA<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;
<span style="color: #66cc66;">&#125;</span>
mdm.<span style="color: #006600;">FileSystem</span>.<span style="color: #006600;">BinaryFile</span>.<span style="color: #006600;">setData</span><span style="color: #66cc66;">&#40;</span>dataString<span style="color: #66cc66;">&#41;</span>;
mdm.<span style="color: #006600;">FileSystem</span>.<span style="color: #006600;">BinaryFile</span>.<span style="color: #006600;">writeData</span><span style="color: #66cc66;">&#40;</span>persFolder + <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>My Pictures<span style="color: #000099; font-weight: bold;">\\</span>myScreensaverThumbs<span style="color: #000099; font-weight: bold;">\\</span>&quot;</span> + _arrayCCopy<span style="color: #66cc66;">&#91;</span>v<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Now that you know how to to handle this, let&#8217;s think about  a few methods that Zinc 2.5 API provides you with:</p>
<p><em>bmpToJpg();</em><br />
Nice little function but it only works if you have .bmp&#8217;s on your harddrive, who uses .bmp&#8217;s nowadays?</p>
<p><em>jpgToBmp();</em><br />
hmm.. sounds better, you can grab a jpeg and convert it to a .bmp file, after that you can use the <em>bmpToJpg()</em> method to save them back, but come on, does that really make sense? After all you are using 2 methods to do a simple conversion and resave.</p>
<p><em>deleteFile();</em><br />
Believe me or not, actually it&#8217;s quite obvious, you converted a jpeg to bmp and the bmp to jpeg, now you have<br />
1) an original file<br />
2) a bitmap file<br />
3) a converted file<br />
Isn&#8217;t that one too much?<br />
Yep, now you have to use the <em>deletefile() </em>method to delete the bmp file which you are definately not going to use.</p>
<p>Now you used 3 methods to accomplish a simple task, that can be done in pure as3 with less lines of code. Now you ask yourself  &#8220;Tiago you are talking about Zinc 2.5, that&#8217;s anyway outdated&#8221; have a look at the <a href="http://www.multidmedia.com/support/livedocs/" target="_blank">methods available for Zinc 3.0</a>. As you see they don&#8217;t have a simple &#8220;read jpeg / save jpeg&#8221; method. WHY NOT?????</p>
<p>But let&#8217;s continue, by now you know how to resize and resave images with Zinc 2.5 and Zinc 3.0, but you are probably not only going to convert one single image on the fly, that would be kind of boring no?</p>
<p>Let&#8217;s try to get a list of files from a specific directory, to accomplish that we need the <em>getFileList()</em> method, below a simple line on how to use it</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> myFiles:<span style="color: #0066CC;">Array</span> = mdm.<span style="color: #006600;">FileSystem</span>.<span style="color: #006600;">getFileList</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;c:<span style="color: #000099; font-weight: bold;">\\</span>my images<span style="color: #000099; font-weight: bold;">\\</span>&quot;</span>, <span style="color: #ff0000;">&quot;*.jpg&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Sounds simple, you build an array and call the getFileList method pointing to the location you wish and filtering it based on the file ending, at the end you don&#8217;t want to get some weird errors because you try to convert a .doc or whatsoever into a .bmp / .jpg</p>
<p>if you don&#8217;t believe me, then try this out on your own doesn&#8217;t matter which version of Zinc you own</p>
<ol>
<li>Create a folder on your c drive (it&#8217;s easier to target then anything else)</li>
<li>Drop a few images and rename the filetype of some of the files to .JPEG, .jpg, .jpeg (case sensitive)</li>
<li>Run the code above in your project using the path to the folder you just created</li>
</ol>
<p><strong>Result:</strong><br />
Only the files with the case sensitive .jpg will be pushed into the array, yeh now you know it, this damn thing is case sensitive, so let&#8217;s create some more arrays to handle the different filetypes and use some more processing time and memory then needed, the same goes for every filetype you want to push in. In my case I had to get all images with a filetype of (.jpg, .jpeg, .JPG, .JPEG, .bmp, .BMP, .png, .PNG) 8 querys on the filesystem all using the same method, sigh..</p>
<p>Have you ever ran into a Zinc problem before, let us hear your experience with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/12/02/zinc-saving-images/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Zinc &#8211; A love hate relationship</title>
		<link>http://blog.six4rty.ch/2009/11/29/zinc-a-love-hate-relationship/</link>
		<comments>http://blog.six4rty.ch/2009/11/29/zinc-a-love-hate-relationship/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 21:07:13 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=610</guid>
		<description><![CDATA[<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%252F11%252F29%252Fzinc-a-love-hate-relationship%252F&title=Zinc+-+A+love+hate+relationship&desc=Zinc%21+Who+doesn%27t+know+zinc%3F+A+long+time+ago%2C+before+the+Adobe+AIR+runtime+was+available+flash+developers+didn%27t+had+much+choice+when+developing+desktop+applications%2C+screensavers%2C+either+you+created+&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>Zinc! Who doesn&#8217;t know zinc? A long time ago, before the Adobe AIR runtime was available flash developers didn&#8217;t had much choice when developing desktop applications, screensavers, either you created an .exe / .dmg file directly out of the Flash IDE or like I mentioned before you bought Zinc! Let&#8217;s be fair, Zinc isn&#8217;t actually [...]]]></description>
			<content:encoded><![CDATA[<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%252F11%252F29%252Fzinc-a-love-hate-relationship%252F&title=Zinc+-+A+love+hate+relationship&desc=Zinc%21+Who+doesn%27t+know+zinc%3F+A+long+time+ago%2C+before+the+Adobe+AIR+runtime+was+available+flash+developers+didn%27t+had+much+choice+when+developing+desktop+applications%2C+screensavers%2C+either+you+created+&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><p>Zinc! Who doesn&#8217;t know zinc? A long time ago, before the Adobe AIR runtime was available flash developers didn&#8217;t had much choice when developing desktop applications, screensavers, either you created an .exe / .dmg file directly out of the Flash IDE or like I mentioned before you bought Zinc!</p>
<p>Let&#8217;s be fair, Zinc isn&#8217;t actually that bad, their API is huge and you can access a whole load of methods that you would never think about, the first time you use zinc and browse through the API you automatically try out the OpenCDTray method, something happens how cool is that? <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But let&#8217;s start from the beginning.</p>
<p>It was a nice sunny day in Zurich, and I got an assignment to create a screensaver with a shitload of functionality, (read images from a specific folder (user can&#8217;t change the folder), resize the images accordingly, resave them again with the new size and settings. read some registry values from the Users computer, and so on.. so I thought, let&#8217;s unpack Zinc and give it a try. yes it was the first time I ever used Zinc!<br />
I ran into so many issues / problems / bugs / headaches / sleepless nights that I thought I need to share this with you guys. <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>1. Zinc 2.5 vs. Zinc 3.0</strong><br />
When you have the choice of using an &#8220;old&#8221; version against the new version, your guts tell you that maybe you shouldn&#8217;t use the new version, stick with the old one which is in use for enough time to get a good resource to get information from.<br />
So I began to develop with Zinc 2.5 after a few headaches and tons of coffee I finally managed to get my screensaver to work, yay. But let&#8217;s have a look at the performance, 30% CPU, 40MB RAM.. well not that bad for so many operations and graphical changes. Apparently there were some issues with the performance and resources on the clients environment, so I decided to jump on the new train (zinc 3.0) and guess what. Zinc 3.0 uses 38% <strong>MORE </strong>resources then the previous version <strong>AND </strong> I&#8217;m still using the same player version and same settings. Hmm.. does Zinc 3.0 really have that many more base code? After a few coffee sessions comparing API&#8217;s and looking into their code. NOPE, they only repacked their old code and gave us a few more methods to work with, damn does that really result in 65% CPU and 120MB RAM? sigh&#8230; Ok spend another few hours reverting everything back to Zinc 2.5. Nice&#8230;</p>
<p><span id="more-610"></span></p>
<p><strong>2. Screensaver Dualscreeen</strong><br />
During the course of development the client asked me if the screensaver is going to work on a dual screen system, I knew from my colleagues that Dual screen is not supported with Zinc 2.5, hmm maybe it works with Zinc 3.0? The answer is NO! Starting to wondering why I ever took the step and use Zinc, a working colleague who already worked on a few projects with Zinc, gave me the idea of selecting an Application deployment with 2 windows instead of screensaver settings, that worked out pretty well on the first few tests, both windows were opening fullscreen, and the &#8220;screensaver&#8221; was running as expected.. BUT&#8230; a few tests later the windows stopped responding to my settings what the heck is going on here&#8230; ????</p>
<p><strong>3. Competition</strong><br />
Let&#8217;s have a quick look at some other products that are able to create screensavers, but sadly there are no other products that can compete against the feature set of Zinc.. so therefore I just have one single software that in my eyes could reach Zinc in a few months of development.</p>
<p><strong><a href="http://www.instantstorm.com">InstantStorm:</a></strong><br />
Pure SWF to SCR converter with a dozen of capabilities, <strong>multiscreen support</strong> and I&#8217;m not only talking about 2 screens, literally MULTIPLE screens.<br />
Easy to use interface, dozens of  settings possibilities like capture of mouse / keyboard events, settings dialog, transparency support, custom kickass installer, multiple swf files for various purposes like widescreen or preview and much much more, this piece of software is <strong>FREE</strong> the only downside is that you don&#8217;t have some kind of API like Zinc does and the flash player needs to be installed in order to run properly something that you don&#8217;t need to do with Zinc as it&#8217;s being wrapped into their own containers which already contains the flash player.</p>
<p><strong>4. Support / Bugs</strong><br />
Go have a look for yourself on the mdm zinc buglist, you will find bugs that are older then 1 year and still not resolved, let&#8217;s take the multiscren issue for instance, instantstorm A FREE tool is able to display your &#8220;screensaver&#8221; over multiple screens, why isn&#8217;t Zinc able to do that as well? The forum is ok visited and that&#8217;s it.. I&#8217;ve opened a case 4 months ago and I still didn&#8217;t get any confirmation that it has ben read by anyone at mdm.</p>
<p><strong>Bottom Line<br />
</strong>It was a pain using Zinc, but like I said before if you are dependent on certain functionality then you will have to use it, until someone else hopefully InstantStorm comes up with a new version that can compete with Zinc. Over the course of the next weeks I will try to post some of the pitfalls and solutions that I came up with while working on this project. Stay tuned for more</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/11/29/zinc-a-love-hate-relationship/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
	</channel>
</rss>

