<?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</title>
	<atom:link href="http://blog.six4rty.ch/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>Sun, 28 Feb 2010 13:11:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
		<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 - Flex on Rails  (Rafael Beck/ 19m2.ch)
Topic 2: AS3 Performance Tweaks ( Sandro Ducceschi / [...]]]></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 - 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>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/02/28/33-sfug-usergroup-meeting-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>32. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/02/11/32-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/02/11/32-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 08:18:42 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=635</guid>
		<description><![CDATA[
The next SFUG (Swiss Flash User Group) takes place on the 18th of February 2010 with a great talk by Mich Heimann on AS3Signals, a new Event System created by Robert Penner, its an alternative approach to the current Event System inspired by C# Events. Last but not least we are going to launch our [...]]]></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 18th of February 2010 with a great talk by Mich Heimann on AS3Signals, a new Event System created by Robert Penner, its an alternative approach to the current Event System inspired by C# Events. Last but not least we are going to launch our first Actionscript Code Battle where the aim is to find and discuss various solutions to a given problem</p>
<p><strong>Topic 1:</strong> "AS3 Signals  - A new Event System" (Mich Heimann / <a href="http://www.indieas.org" target="_blank">indieas.org</a>)</p>
<p><strong>Topic 2:</strong> Actionscript Code Battle</p>
<p><strong>When:</strong> 18. February 2010 / 19:00-22:00<br />
<strong>Where:</strong> Publicis Werbeagentur BSW, Stadelhoferstrasse 25, 8024 Zürich<br />
More information about the single topics  can be found here: <a href="http://www.sfug.ch/?p=157" target="_blank">http://www.sfug.ch/?p=157</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>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/02/11/32-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>30. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2009/12/06/30-sfug-usergroup-meeting-3/</link>
		<comments>http://blog.six4rty.ch/2009/12/06/30-sfug-usergroup-meeting-3/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 13:40:13 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=624</guid>
		<description><![CDATA[
The next SFUG (Swiss Flash User Group) takes place on the 15th of December 2009.
Topic 1: "First Steps with Pixel Bender" (en) - Tiago Dias (Publicis Werbeagentur AG)
Topic 2: "Interactive Spaces with Adobe AIR and Bluetooth" (de) - Andreas Lorenz (dctrl - interactive media GmbH)
When: 15. December 2009 / 19:00-21:30
Where: Publicis Werbeagentur , Stadelhoferstrasse 25, [...]]]></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 15th of December 2009.</p>
<p><strong>Topic 1:</strong> "First Steps with Pixel Bender" (en) - Tiago Dias (Publicis Werbeagentur AG)</p>
<p><strong>Topic 2:</strong> "Interactive Spaces with Adobe AIR and Bluetooth" (de) - Andreas Lorenz (dctrl - interactive media GmbH)</p>
<p><strong>When:</strong> 15. December 2009 / 19:00-21:30<br />
<strong>Where:</strong><a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur </a>, Stadelhoferstrasse 25, 8024 Zürich<br />
More information about the single topics  can be found here: <a href="http://www.sfug.ch/?p=141" target="_blank">http://www.sfug.ch/?p=141</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>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/12/06/30-sfug-usergroup-meeting-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/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[It was obvious that I had to write a few more lines about Zinc in the near future, but somehow this topic didn't leave me alone at all, and no, I'm not writing about Zinc because I like it, I'm writing this because I don't want that other people fall into the traps I fell [...]]]></description>
			<content:encoded><![CDATA[<p>It was obvious that I had to write a few more lines about Zinc in the near future, but somehow this topic didn't leave me alone at all, and no, I'm not writing about Zinc because I like it, I'm writing this because I don't want that other people fall into the traps I fell while using it. Do I like Zinc? Yes &amp; No, it's a very weird situation, it'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's leave this discussion out of here.</p>
<p>So let'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'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'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'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's look at the methods available:<br />
<em>setData();<br />
writeData();</em></p>
<p>Yeh, it's not much, and yeh it didn'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'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's on your harddrive, who uses .bmp'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'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'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  "Tiago you are talking about Zinc 2.5, that's anyway outdated" 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't have a simple "read jpeg / save jpeg" method. WHY NOT?????</p>
<p>But let'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'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'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't believe me, then try this out on your own doesn't matter which version of Zinc you own</p>
<ol>
<li>Create a folder on your c drive (it'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'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>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/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[Zinc! Who doesn't know zinc? A long time ago, before the Adobe AIR runtime was available flash developers didn'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's be fair, Zinc isn't actually that [...]]]></description>
			<content:encoded><![CDATA[<p>Zinc! Who doesn't know zinc? A long time ago, before the Adobe AIR runtime was available flash developers didn'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's be fair, Zinc isn'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'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'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'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 "old" version against the new version, your guts tell you that maybe you shouldn'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'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'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'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... Ok spend another few hours reverting everything back to Zinc 2.5. Nice...</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 "screensaver" was running as expected.. BUT... a few tests later the windows stopped responding to my settings what the heck is going on here... ????</p>
<p><strong>3. Competition</strong><br />
Let'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'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'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't need to do with Zinc as it'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's take the multiscren issue for instance, instantstorm A FREE tool is able to display your "screensaver" over multiple screens, why isn't Zinc able to do that as well? The forum is ok visited and that's it.. I've opened a case 4 months ago and I still didn'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>17</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>29. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2009/11/16/29-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2009/11/16/29-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 08:27:57 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=613</guid>
		<description><![CDATA[
The next SFUG (Swiss Flash User Group) takes place on the 17th of November 2009 with 2 interesting topics. As usual the first topic will be technology driven while the second is showcase directed.
Topic 1: Showcase: "Lernfragen 2.0"  (Michel Wacker / Liip AG)
The "Lernfragen 2.0" aka the "Frageplayer" project is a Flash presentation layer for [...]]]></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 17th of November 2009 with 2 interesting topics. As usual the first topic will be technology driven while the second is showcase directed.</p>
<p><strong>Topic 1:</strong> Showcase: "Lernfragen 2.0"  (Michel Wacker / <a href="http://www.liip.ch" target="_blank">Liip AG</a>)</p>
<p>The "Lernfragen 2.0" aka the "<strong>Frageplayer</strong>" project is a <strong>Flash presentation layer</strong> for the open source Learn Management System <a title="Check out the Moodle website" rel="nofollow" href="http://moodle.org/" target="_blank"><strong>Moodle</strong></a> developed to bring a <strong>more visual learning experience</strong> to the user.</p>
<p>The aim of this rather complex Flex project was to <strong>seperate code</strong> as much as possible <strong>from design</strong> profiting from <strong>Interfaces and Flex modules</strong>. This approach allows using the <strong>same logical core</strong> for multiple projects that could be <strong>skinned very independently</strong> from a designer.</p>
<p><strong>Topic 2:</strong> State of Mobile in the Adobe Ecosystem (Weyert De Boer, <a href="http://nothing.ch/" target="_blank">nothing</a>)</p>
<p>In October some exciting new mobile products and news has been shared with the world during the <strong>Adobe MAX conference</strong> in Los Angeles. Such as, the availability of <strong>Flash Player 10.1 for mobile devices</strong>, on devices like the <strong>Palm Pre, Android</strong> and <strong>Symbian</strong>. And the impressive upcoming feature for Flash CS5 that allows you to <strong>build native iPhone apps</strong> by leveraging the Flash platform engine. Also information has been shared about <strong>Flex for mobile</strong> and <strong>AIR for mobile</strong>.</p>
<p>In this session, we dive into the depth of what Flash has to offer on mobile platforms today and in the near future. Weyert will show tips and tricks about how to <strong>optimize Flash content for mobile devices</strong> and cover questions like what are the exciting changes in the <strong>Flash Player 10.1 compared to Flash Lite 3.1</strong>? At the end we will raffle a copy of FriendOfED's latest Flash mobile book AdvancED Flash on Devices.</p>
<p><strong>When:</strong> 17. November 2009 / 19:00-21:30</p>
<p><strong>Where:</strong><a href="http://nothing.ch/" target="_blank"> nothing GmbH</a>, Kirchstrasse 175, 3084 Bern <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=nothing+gmbh,+bern&amp;sll=37.0625,-95.677068&amp;sspn=43.123021,65.654297&amp;ie=UTF8&amp;hq=nothing+gmbh,&amp;hnear=Berne,+Switzerland&amp;ll=46.932917,7.446327&amp;spn=0.072911,0.128231&amp;z=13" target="_blank">(map)</a></p>
<p><strong>Connect URL:</strong> If you are not able to attend the meeting in person, don't be afraid. We are transmitting and recording the complete event through Adobe Connect, you can enter the room 15min prior to start. <a href="http://experts.na3.acrobat.com/r20345015/" target="_blank">http://experts.na3.acrobat.com/r20345015/</a></p>
<p>More information about the single topics  can be found here: <a href="http://www.sfug.ch/?p=137" target="_blank">http://www.sfug.ch/?p=137</a></p>
<p>More information about SFUG can be found on:</p>
<p><a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a></p>
<p><a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/11/16/29-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Did you miss the MAX 2009 keynotes for real or virtually?</title>
		<link>http://blog.six4rty.ch/2009/10/07/did-you-miss-the-max-2009-keynotes-for-real-or-virtually/</link>
		<comments>http://blog.six4rty.ch/2009/10/07/did-you-miss-the-max-2009-keynotes-for-real-or-virtually/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:06:55 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[MAX 2009]]></category>
		<category><![CDATA[Meetings]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=607</guid>
		<description><![CDATA[Did you miss the keynotes live on stage at this years Adobe MAX 2009? Or were you sleeping while the show started, below you get the recorded version of both sessions.
Mondays Keynote
http://max.adobe.com/online/keynote_monday/
Tuesdays Keynote
http://max.adobe.com/online/keynote_tuesday/
Some of the sneak peeks also showed on youtube a while ago, so.. go search for them and be amazed about what could [...]]]></description>
			<content:encoded><![CDATA[<p>Did you miss the keynotes live on stage at this years Adobe MAX 2009? Or were you sleeping while the show started, below you get the recorded version of both sessions.</p>
<p>Mondays Keynote</p>
<p><a href="http://max.adobe.com/online/keynote_monday/">http://max.adobe.com/online/keynote_monday/</a></p>
<p>Tuesdays Keynote</p>
<p><a href="http://max.adobe.com/online/keynote_tuesday/">http://max.adobe.com/online/keynote_tuesday/</a></p>
<p>Some of the sneak peeks also showed on youtube a while ago, so.. go search for them and be amazed about what could be coming up</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/10/07/did-you-miss-the-max-2009-keynotes-for-real-or-virtually/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Message Wall &amp; Outsides @ Adobe MAX 2009</title>
		<link>http://blog.six4rty.ch/2009/10/04/message-wall-outsides-adobe-max-2009/</link>
		<comments>http://blog.six4rty.ch/2009/10/04/message-wall-outsides-adobe-max-2009/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 21:03:43 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[MAX 2009]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=603</guid>
		<description><![CDATA[Outside Views @ Adobe MAX 2009

Twitter Wall @ Adobe MAX 2009

]]></description>
			<content:encoded><![CDATA[<p><strong>Outside Views @ Adobe MAX 2009</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/QlTp-jVCtFQ&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/QlTp-jVCtFQ&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>Twitter Wall @ Adobe MAX 2009</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/QHZHhzMXb9w&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/QHZHhzMXb9w&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/10/04/message-wall-outsides-adobe-max-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Community Summit 2009 &#8211; Video</title>
		<link>http://blog.six4rty.ch/2009/10/04/community-summit-2009-video/</link>
		<comments>http://blog.six4rty.ch/2009/10/04/community-summit-2009-video/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 18:54:39 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[MAX 2009]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=601</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/7swDqzKEZ0Y&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/7swDqzKEZ0Y&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/10/04/community-summit-2009-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>MAX Widget</title>
		<link>http://blog.six4rty.ch/2009/08/24/max-widget/</link>
		<comments>http://blog.six4rty.ch/2009/08/24/max-widget/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:44:30 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[MAX 2009]]></category>
		<category><![CDATA[Meetings]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=597</guid>
		<description><![CDATA[Darn, my Sidebar is too small to host the big max widget.
But it's cool nice little app, have fun reading some funny facts, and don't forget to tweet about it.

]]></description>
			<content:encoded><![CDATA[<p>Darn, my Sidebar is too small to host the big max widget.<br />
But it's cool nice little app, have fun reading some funny facts, and don't forget to tweet about it.</p>
<p><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTExMjQ3MTk1MDAmcHQ9MTI1MTEyNDcyNTA2MiZwPTc3NDM3MSZkPW1heDA5d2lkZ2V*Jmc9MiZvPWEzNjhhN2IzZWVmOTRjMGVhYjJjZjU2ZTVjOTJlZTYwJm9mPTA=.gif" /><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="MaxWidget" width="400" height="400" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://max.adobe.com/widget/MaxWidget.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#869ca7" /><param name="allowScriptAccess" value="sameDomain" /><embed src="http://max.adobe.com/widget/MaxWidget.swf" quality="high" bgcolor="#869ca7" width="400" height="400" name="MaxWidget" align="middle" play="true" loop="false" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" FlashVars="crtr=1&#038;gig_lt=1251124719500&#038;gig_pt=1251124725062&#038;gig_g=2"></embed><param name="FlashVars" value="crtr=1&#038;gig_lt=1251124719500&#038;gig_pt=1251124725062&#038;gig_g=2" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/08/24/max-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3 &#8211; textfield setSelection()</title>
		<link>http://blog.six4rty.ch/2009/08/24/as3-textfield-setselection/</link>
		<comments>http://blog.six4rty.ch/2009/08/24/as3-textfield-setselection/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 13:25:49 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=592</guid>
		<description><![CDATA[Have you tried to set selection on atextfield after a validation procedure? Have you noticed that it doesn't work quite right? Here's the quick solution for that:
Normally you would use the yourTextField.setSelection(startIndex, endIndex); method, but like I said before that doesn't really work very well.
You just need to set the focus to the textfield and [...]]]></description>
			<content:encoded><![CDATA[<p>Have you tried to set selection on atextfield after a validation procedure? Have you noticed that it doesn't work quite right? Here's the quick solution for that:</p>
<p>Normally you would use the yourTextField.setSelection(startIndex, endIndex); method, but like I said before that doesn't really work very well.</p>
<p>You just need to set the focus to the textfield and then set the selection:</p>
<p>Example: (assuming you have a textfield called "tf")</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">....
<span style="color: #006600;">tf</span>.<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">focus</span> = tf;
tf.<span style="color: #0066CC;">setSelection</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>, tf.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#41;</span>;
...</pre></div></div>

<p>And that's how you solve the textfield.setSelection() problem</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/08/24/as3-textfield-setselection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>26. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2009/08/14/23-sfug-usergroup-meeting-2/</link>
		<comments>http://blog.six4rty.ch/2009/08/14/23-sfug-usergroup-meeting-2/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 12:10:28 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=586</guid>
		<description><![CDATA[
The next SFUG (Swiss Flash User Group) takes place on the 18th of August 2009 with 2 showcases.
Showcase 1: Talkmaster, Brand Visualisation  (Marcel Vogt/ Publicis Modem)
Showcase 2: Typefinder -   (Philippe Läubli / Software Entwickler, Interaction Designer)
When: 18. August 2009 / 19:00-21:30
Where: Publicis Werbeagentur BSW, Stadelhoferstrasse 25, 8024 Zürich (map)

More information about SFUG can be found [...]]]></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 18th of August 2009 with 2 showcases.</p>
<p><strong>Showcase 1:</strong> Talkmaster, Brand Visualisation  (Marcel Vogt/ <a href="http://www.publicis.ch" target="_blank">Publicis Modem</a>)</p>
<p><strong>Showcase 2:</strong> Typefinder -   (Philippe Läubli / Software Entwickler, Interaction Designer)</p>
<p><strong>When:</strong> 18. August 2009 / 19:00-21:30<br />
<strong>Where:</strong><a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur BSW</a>, Stadelhoferstrasse 25, 8024 Zürich <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Publicis+Z%C3%BCrich&amp;sll=37.0625,-95.677068&amp;sspn=51.754532,79.013672&amp;ie=UTF8&amp;z=15&amp;iwloc=A" target="_blank">(map)</a><br />
<a href="http://www.sfug.ch/?p=80" target="_blank"></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>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/08/14/23-sfug-usergroup-meeting-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/ch/</creativeCommons:license>
	</item>
	</channel>
</rss>
