<?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/"
	>

<channel>
	<title>labs.grupow.com</title>
	<atom:link href="http://labs.grupow.com/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://labs.grupow.com</link>
	<description></description>
	<pubDate>Thu, 29 Jul 2010 21:59:58 +0000</pubDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>as3isolib  Isometric Library</title>
		<link>http://labs.grupow.com/index.php/2010/07/as3isolib-isometric-library/</link>
		<comments>http://labs.grupow.com/index.php/2010/07/as3isolib-isometric-library/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 21:53:23 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=445</guid>
		<description><![CDATA[
i&#8217;m going to start a personal project using an isometric view, and i just find about as3isolib
it´s a very useful library that could help you in building your own isometric game.
i uploaded already a few examples on GitHub, and i will continue uploading more examples on the road.
http://github.com/rauluranga/as3isolib-demos-bundle
you can find more info here and here.
cheers!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/as3isolib/"><img class="alignnone" title="as3isolib" src="http://as3isolib.files.wordpress.com/2009/01/as3isolib_logo_main.jpg" alt="" width="381" height="107" /></a><br />
i&#8217;m going to start a personal project using an isometric view, and i just find about <a href="http://code.google.com/p/as3isolib/" target="_blank">as3isolib</a><br />
it´s a very useful library that could help you in building your own isometric game.</p>
<p>i uploaded already a few examples on GitHub, and i will continue uploading more examples on the road.<br />
<a href="http://github.com/rauluranga/as3isolib-demos-bundle" target="_blank">http://github.com/rauluranga/as3isolib-demos-bundle</a></p>
<p>you can find more info <a href="http://code.google.com/p/as3isolib/" target="_blank">here</a> and <a href="http://as3isolib.wordpress.com/" target="_self">here</a>.</p>
<p>cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/07/as3isolib-isometric-library/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Playing with GitHub!</title>
		<link>http://labs.grupow.com/index.php/2010/07/playing-with-github/</link>
		<comments>http://labs.grupow.com/index.php/2010/07/playing-with-github/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 04:30:19 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[github]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=421</guid>
		<description><![CDATA[i started learning how GitHub works and created a new project http://github.com/GrupoW;
Learning git it&#8217;s a little bit more complicated than SVN, and if you are in MAC, installing it is another history! (you can go to this page for little help)
I´m going to start porting all the GrupoW googles repository to GitHub, yes&#8230;&#8230;&#8230; i could [...]]]></description>
			<content:encoded><![CDATA[<p>i started learning how <a href="http://github.com/" target="_blank">GitHub</a> works and created a new project<a href="http://github.com/GrupoW"> http://github.com/GrupoW</a>;<br />
Learning git it&#8217;s a little bit more complicated than SVN, and if you are in MAC, installing it is another history! (you can go to <a href="http://www.silverwareconsulting.com/index.cfm/2009/10/26/Setting-up-a-Mac-to-Work-with-Git-and-GitHub" target="_blank">this page</a> for little <a href="http://help.github.com/" target="_blank">help</a>)<br />
I´m going to start porting all the <a href="http://code.google.com/p/grupow/" target="_blank">GrupoW googles repository</a> to GitHub, yes&#8230;&#8230;&#8230; i could export/import from SVN to GitHub but i also want to refactor some classes and remember, i´m doing this for learning purposes and because everybody is talking about git!!!.</p>
<p>so let&#8217;s start sharing code!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/07/playing-with-github/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Weakreference + Robotlegs</title>
		<link>http://labs.grupow.com/index.php/2010/07/weakreference-robotlegs/</link>
		<comments>http://labs.grupow.com/index.php/2010/07/weakreference-robotlegs/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 17:31:31 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=402</guid>
		<description><![CDATA[yesterday i was wondering why i just couldn&#8217;t get the eventMap.mapListener to work as expected.
in my mediator class i have the next code:

1
2
3
override public function onRegister&#40;&#41;:void  &#123;
	eventMap.mapListener&#40;view, CustomEvent.CLICK, onClick&#41;;
&#125;

the onClick handler never happens&#8230; (using Flash CS4)
but if i change that line to this:

1
view.addEventListener&#40;CustomEvent.CLICK, onClick&#41;

it works!
it also works with:

1
eventMap.mapListener&#40;view, CustomEvent.CLICK, onClick ,CustomEvent,false,0,false&#41;;

after two hours of [...]]]></description>
			<content:encoded><![CDATA[<p>yesterday i was wondering why i just couldn&#8217;t get the eventMap.mapListener to work as expected.</p>
<p>in my mediator class i have the next code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">override <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> onRegister<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>  <span style="color: #000000;">&#123;</span>
	eventMap.mapListener<span style="color: #000000;">&#40;</span>view, CustomEvent.<span style="color: #004993;">CLICK</span>, onClick<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>the <em>onClick</em> handler never happens&#8230; (using Flash CS4)<br />
but if i change that line to this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">view.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>CustomEvent.<span style="color: #004993;">CLICK</span>, onClick<span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<p>it works!</p>
<p>it also works with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">eventMap.mapListener<span style="color: #000000;">&#40;</span>view, CustomEvent.<span style="color: #004993;">CLICK</span>, onClick ,CustomEvent,<span style="color: #0033ff; font-weight: bold;">false</span>,0,<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>;</pre></td></tr></table></div>

<p>after two hours of digging in, downgrading Robotlegs version, downgrading Flash IDE version, changing from PC to MAC, i just realized that i needed to ask to google san. (yeah!! after two hours i just realized that!, can you believe it??)</p>
<p>made the next search: &#8220;<em>Weakreference + Robotlegs</em>&#8221;</p>
<p>google&#8217;s response:  0.37 segs<br />
google&#8217;s <a href="http://knowledge.robotlegs.org/discussions/questions/127-addeventlistener-in-mediator-with-weak-reference-on-the-view-fails-with-strong-reference-succeedswhy">first result</a></p>
<p>my fix was, changing this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Main extends <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #6699cc; font-weight: bold;">var</span> context<span style="color: #000000; font-weight: bold;">:</span>MainContext = <span style="color: #0033ff; font-weight: bold;">new</span> MainContext<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span>,<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>;
		context.startup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #000000;">&#125;</span>	
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>for this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Main extends <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> context<span style="color: #000000; font-weight: bold;">:</span>MainContext;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
&nbsp;
		context = <span style="color: #0033ff; font-weight: bold;">new</span> MainContext<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span>,<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span>;
		context.startup<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #000000;">&#125;</span>	
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>the GC was only doing his duty!<br />
man, if i would have asked to google before, it would have saved two hours of my lifetime!.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/07/weakreference-robotlegs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting started with Robotlegs</title>
		<link>http://labs.grupow.com/index.php/2010/07/getting-started-with-robotlegs/</link>
		<comments>http://labs.grupow.com/index.php/2010/07/getting-started-with-robotlegs/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 16:19:02 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[RobotLegs]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=399</guid>
		<description><![CDATA[




i want to share all these links with you, helps you to start playing with RobotLegs from the very begining.

http://www.robotlegs.org/



Best Practices Documentation
MVCS Class and Flow Diagram
Robotlegs Internals (draft)
Robotlegs Framework on Github
Robotlegs Examples on Github
Hello World video tutorial
RobotLegs and FlashIDE
Zend AMF + RobotLegs
Playing with robotlegs modular
 Robotlegs Diagram
 Robotlegs beginner Q&#38;A

Robotlegs FDT Templates
Shaun Smith (founder)
Joel Hooks [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl class="wp-caption alignnone" style="width: 320px;">
<dt class="wp-caption-dt"><a href="http://www.robotlegs.org/"><img title="Robotlegs" src="http://www.robotlegs.org/images/rl-header-logo-310-253.png" alt="Robotlegs" width="310" height="253" /></a></dt>
</dl>
</div>
<p>i want to share all these links with you, helps you to start playing with RobotLegs from the very begining.</p>
<ul>
<li><a href="http://www.robotlegs.org/">http://www.robotlegs.org/</a></li>
</ul>
<div class="span-22 prepend-2 last">
<ul>
<li><a href="http://wiki.github.com/robotlegs/robotlegs-framework/best-practices">Best Practices Documentation</a></li>
<li><a href="http://www.robotlegs.org/diagram">MVCS Class and Flow Diagram</a></li>
<li><a href="http://wiki.github.com/robotlegs/robotlegs-framework/robotlegs-internals">Robotlegs Internals</a> (draft)</li>
<li><a href="http://github.com/robotlegs/robotlegs-framework">Robotlegs Framework</a> on Github</li>
<li><a href="http://github.com/robotlegs/robotlegs-demos-Bundle">Robotlegs Examples</a> on Github</li>
<li><a href="http://pv3d.org/2009/11/18/robotlegs-hello-world-video-tutorial/">Hello World video tutorial</a></li>
<li><a href="../index.php/2010/02/robotlegs-and-flash-ide/">RobotLegs and FlashIDE</a></li>
<li><a href="http://andreitt.com/blog/?p=33">Zend AMF + RobotLegs</a></li>
<li><a href="http://www.sitronnier.com/blog/playing-with-robotlegs-modular">Playing with robotlegs modular</a></li>
<li> <a href="http://andreitt.com/blog/?p=54">Robotlegs Diagram</a></li>
<li> <a href="http://andreitt.com/blog/?p=108">Robotlegs beginner Q&amp;A<br />
</a></li>
<li><a href="http://knowledge.robotlegs.org/discussions/solutions/3-fdt-templates">Robotlegs FDT Templates</a></li>
<li><a href="http://shaun.boyblack.co.za/blog/">Shaun Smith</a> (founder)</li>
<li><a href="http://joelhooks.com/">Joel Hooks</a> (colaborator)</li>
</ul>
</div>
<div class="span-22 prepend-2 last">once you understand all the wireup thing, you will notice that using RL is very easy.</div>
<div class="span-22 prepend-2 last"></div>
<div class="span-22 prepend-2 last">did i mention that Robotlegs rocks?????</div>
<div class="span-22 prepend-2 last"></div>
<div class="span-22 prepend-2 last"></div>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/07/getting-started-with-robotlegs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New ActionScript Editor!</title>
		<link>http://labs.grupow.com/index.php/2010/06/new-actionscript-editor/</link>
		<comments>http://labs.grupow.com/index.php/2010/06/new-actionscript-editor/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 16:37:12 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[Editor]]></category>

		<category><![CDATA[RASE]]></category>

		<category><![CDATA[Realaxy]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=392</guid>
		<description><![CDATA[i&#8217;ve been waiting this for months!!!
now the Realaxy Actionscript Editor (RASE) goes public beta
download and test it now!!
for more info, you can follow Den Ivanov&#8217;s blog.
cheers!
]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve been waiting this for months!!!<br />
now the <a href="http://www.realaxy.com/editor/index?lang=en_US">Realaxy Actionscript Editor (RASE)</a> goes public beta</p>
<p>download and test it now!!</p>
<p>for more info, you can follow <a href="http://www.cleoag.ru/">Den Ivanov&#8217;s blog</a>.</p>
<p>cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/06/new-actionscript-editor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WebFont Loader</title>
		<link>http://labs.grupow.com/index.php/2010/05/webfont-loader/</link>
		<comments>http://labs.grupow.com/index.php/2010/05/webfont-loader/#comments</comments>
		<pubDate>Wed, 26 May 2010 17:30:30 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[WebFont Loader]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=357</guid>
		<description><![CDATA[Google&#8217;s new app WebFont Loader rocks!!, let`s you to add web fonts to your pages and
you don&#8217;t need to do any programming, just a basic knowledge of HTML &#38; CSS (vary basic)
here&#8217;s a quick example:
just copy and paste the following code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
&#60;html&#62;
  &#60;head&#62;
    &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;http://fonts.googleapis.com/css?family=Reenie+Beanie&#34;&#62;
    &#60;style&#62;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Google&#8217;s new app WebFont Loader rocks!!, let`s you to add web fonts to your pages and<br />
you don&#8217;t need to do any programming, just a basic knowledge of HTML &amp; CSS (vary basic)<br />
here&#8217;s a quick example:</p>
<p>just copy and paste the following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;html&gt;
  &lt;head&gt;
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://fonts.googleapis.com/css?family=Reenie+Beanie&quot;&gt;
    &lt;style&gt;
      body {
        font-family: 'Reenie Beanie', serif;
        font-size: 48px;
      }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Hello World!&lt;/h1&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>and you will see something line this</p>
<p class="fontGoogle">Hello World!</p>
<p>in deep:</p>
<p>here we add a stylesheet link to request the desired web font</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>link rel=<span style="color: #990000;">&quot;stylesheet&quot;</span> <span style="color: #004993;">type</span>=<span style="color: #990000;">&quot;text/css&quot;</span> href=<span style="color: #990000;">&quot;http://fonts.googleapis.com/css?family=Reenie+Beanie&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

<p>here we style an element with our web font</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">body <span style="color: #000000;">&#123;</span>
        font<span style="color: #000000; font-weight: bold;">-</span>family<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #990000;">'Reenie Beanie'</span>, serif;
        font<span style="color: #000000; font-weight: bold;">-</span><span style="color: #004993;">size</span><span style="color: #000000; font-weight: bold;">:</span> 48px;
     <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>so now you can see how easy is to use this new app!</p>
<p>for more info:</p>
<p><a href="http://wpmu.org/how-to-use-the-google-font-directory-with-wordpress-and-buddypress/">How to Use the Google Font Directory With WordPress</a><br />
<a href="http://code.google.com/apis/webfonts/docs/getting_started.html">Getting Started</a><br />
<a href="http://code.google.com/webfonts">Google Font Directory</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/05/webfont-loader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Pacman</title>
		<link>http://labs.grupow.com/index.php/2010/05/google-pacman/</link>
		<comments>http://labs.grupow.com/index.php/2010/05/google-pacman/#comments</comments>
		<pubDate>Wed, 26 May 2010 16:10:57 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=354</guid>
		<description><![CDATA[if you enjoy playing pacman on the Google´s homepage
go to github and download it!!
there&#8217;s a copy of Google&#8217;s playable Pacman game!
 macek / google_pacman
cheers!
]]></description>
			<content:encoded><![CDATA[<p>if you enjoy playing pacman on the Google´s homepage<br />
go to github and download it!!<br />
there&#8217;s a copy of Google&#8217;s playable Pacman game!</p>
<p><a href="http://github.com/macek/google_pacman"> macek / google_pacman</a></p>
<p>cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/05/google-pacman/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ooops!</title>
		<link>http://labs.grupow.com/index.php/2010/05/ooops/</link>
		<comments>http://labs.grupow.com/index.php/2010/05/ooops/#comments</comments>
		<pubDate>Wed, 19 May 2010 22:45:16 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=351</guid>
		<description><![CDATA[sorry about the last days, we were trying to implement the new skin like GrupoW&#8217;s blog, but
we found some problems on the road&#8230;.
so skin update will come later =(
Cheers!!
]]></description>
			<content:encoded><![CDATA[<p>sorry about the last days, we were trying to implement the new skin like GrupoW&#8217;s blog, but<br />
we found some problems on the road&#8230;.</p>
<p>so skin update will come later =(</p>
<p>Cheers!!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/05/ooops/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Versions Tip</title>
		<link>http://labs.grupow.com/index.php/2010/04/versions-tip/</link>
		<comments>http://labs.grupow.com/index.php/2010/04/versions-tip/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 22:26:43 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=345</guid>
		<description><![CDATA[if you wonder how the heck you could do branching or tagging in Versions.app (SVN Client for Mac)
just go to your repository (not the working copy), then drag the folder you want to tag to it&#8217;s destination, fill in the resulting dialog.
cheers.
]]></description>
			<content:encoded><![CDATA[<p>if you wonder how the heck you could do branching or tagging in <a title="Versions" href="http://versionsapp.com/" target="_blank">Versions.app</a> (SVN Client for Mac)<br />
just go to your repository (not the working copy), then drag the folder you want to tag to it&#8217;s destination, fill in the resulting dialog.</p>
<p>cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/04/versions-tip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sound Manager</title>
		<link>http://labs.grupow.com/index.php/2010/02/sound-manager/</link>
		<comments>http://labs.grupow.com/index.php/2010/02/sound-manager/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 23:31:59 +0000</pubDate>
		<dc:creator>Raúl</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Sound]]></category>

		<category><![CDATA[SoundManager]]></category>

		<guid isPermaLink="false">http://labs.grupow.com/?p=302</guid>
		<description><![CDATA[i been using the Sound Manager from Matt Przybylski
for a while and added some little updates:
first make it work with the latest TweenLite Framework and to do that, you just need to make these changes:

firts, change TweenLite package from:

import gs.TweenLite;

to:

import com.greensock.TweenLite;

second, activate the VolumePlugin:

import com.greensock.plugins.TweenPlugin;
import com.greensock.plugins.VolumePlugin;

and in the Constructor, add this line:

TweenPlugin.activate&#40;&#91;VolumePlugin&#93;&#41;;

and that&#8217;s it, is [...]]]></description>
			<content:encoded><![CDATA[<p>i been using the <a href="http://evolve.reintroducing.com/2008/07/15/as3/as3-soundmanager/" target="_blank">Sound Manager</a> from <a href="http://www.reintroducing.com" target="_blank">Matt Przybylski<br />
</a>for a while and added some little updates:<br />
first make it work with the latest <a href="http://www.greensock.com/tweenlite/" target="_blank">TweenLite Framework</a> and to do that, you just need to make these changes:</p>
<p><span id="more-302"></span></p>
<p>firts, change TweenLite package from:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> gs.TweenLite;</pre></div></div>

<p>to:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com.greensock.TweenLite;</pre></div></div>

<p>second, activate the VolumePlugin:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com.greensock.plugins.TweenPlugin;
<span style="color: #0033ff; font-weight: bold;">import</span> com.greensock.plugins.VolumePlugin;</pre></div></div>

<p>and in the Constructor, add this line:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">TweenPlugin.<span style="color: #004993;">activate</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>VolumePlugin<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>and that&#8217;s it, is all you need to make it work with <a href="http://www.greensock.com/tweenlite/" target="_blank">TweenLite</a>.</p>
<p>then, i added two functions to extend functionality</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> addSound<span style="color: #000000;">&#40;</span>$id<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">return</span> addLibrarySound<span style="color: #000000;">&#40;</span><span style="color: #004993;">getDefinitionByName</span><span style="color: #000000;">&#40;</span>$id<span style="color: #000000;">&#41;</span>, $id<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> addMultiplesSounds<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #0033ff; font-weight: bold;">each</span><span style="color: #000000;">&#40;</span> <span style="color: #6699cc; font-weight: bold;">var</span> name_str<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> <span style="color: #0033ff; font-weight: bold;">in</span> <span style="color: #004993;">value</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
		addSound<span style="color: #000000;">&#40;</span>name_str<span style="color: #000000;">&#41;</span>;
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>the addSound function works the same as the <a href="http://www.greensock.com/tweenlite/" target="_blank">addLibrarySound</a> function<br />
only hides the getDefinitionByName call (need it to create the sound item class) and sets the name <em>id</em> equals to the <em>linkage id</em>.</p>
<p>instead of using:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com.reintroducing.sound.SoundManager;
<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.utils</span>.<span style="color: #004993;">getDefinitionByName</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> manageSound<span style="color: #000000; font-weight: bold;">:</span>SoundManager=SoundManager.getInstance<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
manageSound.addLibrarySound<span style="color: #000000;">&#40;</span><span style="color: #004993;">getDefinitionByName</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;loop&quot;</span><span style="color: #000000;">&#41;</span>, <span style="color: #990000;">&quot;loop&quot;</span><span style="color: #000000;">&#41;</span>;
manageSound.playSound<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;loop&quot;</span>, 0, 0, <span style="color: #000000; font-weight:bold;">999</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>just do this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com.reintroducing.sound.SoundManager;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> manageSound<span style="color: #000000; font-weight: bold;">:</span>SoundManager=SoundManager.getInstance<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
manageSound.addSound<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;loop&quot;</span><span style="color: #000000;">&#41;</span>;
manageSound.playSound<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;loop&quot;</span>, 0, 0, <span style="color: #000000; font-weight:bold;">999</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>and the <em>addMultiplesSounds</em> function adds the functionality to create multiples sounds from the passed  Array.<br />
so you can do this:</p>
<p>i&#8217;d like to put all the sounds <em>id&#8217;s</em> in a Class, just to avoid misspells</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Sounds
	<span style="color: #000000;">&#123;</span>
		static <span style="color: #0033ff; font-weight: bold;">public</span> const LOOP_SOUND = <span style="color: #990000;">&quot;LoopSound&quot;</span>;
		static <span style="color: #0033ff; font-weight: bold;">public</span> const CLICK_SOUND01 = <span style="color: #990000;">&quot;ClickSound01&quot;</span>;
		static <span style="color: #0033ff; font-weight: bold;">public</span> const CLICK_SOUND02 = <span style="color: #990000;">&quot;ClickSound02&quot;</span>;
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>and then just referring by the <em>variable name</em></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com.reintroducing.sound.SoundManager;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> manageSound<span style="color: #000000; font-weight: bold;">:</span>SoundManager=SoundManager.getInstance<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
manageSound.addMultiplesSounds<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span>Sounds.LOOP_SOUND, Sounds.CLICK_SOUND01, Sounds.CLICK_SOUND02<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;
manageSound.playSound<span style="color: #000000;">&#40;</span>Sounds.LOOP_SOUND, 0, 0, <span style="color: #000000; font-weight:bold;">999</span><span style="color: #000000;">&#41;</span>;
manageSound.playSound<span style="color: #000000;">&#40;</span>Sounds.CLICK_SOUND01<span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>download the final class <a href="http://labs.grupow.com/wp-content/uploads/examples/SoundManagerClass.zip" target="_blank">here</a></p>
<p>for more information about how to use the SoundManager Class see <a href="http://evolve.reintroducing.com/2008/07/15/as3/as3-soundmanager/" target="_blank">here </a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.grupow.com/index.php/2010/02/sound-manager/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
