<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>André Anaya &#187; tip</title>
	<atom:link href="http://blog.andreanaya.com/lang/en/tag/tip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.andreanaya.com</link>
	<description>Technology and interactive media</description>
	<lastBuildDate>Tue, 26 Jan 2010 17:59:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dynamic Sound &#8211; Part 1</title>
		<link>http://blog.andreanaya.com/lang/en/2009/04/dynamic-sound-part-1</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/04/dynamic-sound-part-1#comments</comments>
		<pubDate>Mon, 27 Apr 2009 15:03:37 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.andreanaya.com/?p=303</guid>
		<description><![CDATA[I spent the last couple weeks working on a project involving sound. Unfortunatly I can&#8217;t show it yet, but my goal was to play a bunch of musical notes at the same time in a especific interval. The first thing I tried to do was load a lot of samples and play then when I [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/04/dynamic-sound-part-1/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>CustomCursor advanced</title>
		<link>http://blog.andreanaya.com/lang/en/2009/04/customcursor-advanced</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/04/customcursor-advanced#comments</comments>
		<pubDate>Wed, 15 Apr 2009 19:04:23 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[pattern]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.andreanaya.com/?p=265</guid>
		<description><![CDATA[OK, let&#8217;s begin talking about Design Patterns.
The best thing of OOP, is the capability to create something in way to reuse it in another situation by defining some patterns to follow. Basicly this is Design Patterns. There are several kinds of Patterns and one of them is the Singleton Pattern. It consists in create only [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/04/customcursor-advanced/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stage.quality vs performance</title>
		<link>http://blog.andreanaya.com/lang/en/2009/04/stagequality-vs-performance</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/04/stagequality-vs-performance#comments</comments>
		<pubDate>Fri, 03 Apr 2009 22:23:44 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[performace]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.andreanaya.com/?p=213</guid>
		<description><![CDATA[One of the worst problem that any developer have to face is the performance of his applications. There are many factor contributing to a bad performance, one of them is graphic rendering.
Depending of what you&#8217;re doing, there&#8217;s a single line of code that solves this problem.


stage.quality = StageQuality.LOW

When you set the stage quality as low, [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/04/stagequality-vs-performance/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dynamic Custom Event</title>
		<link>http://blog.andreanaya.com/lang/en/2009/03/dynamic-custom-event</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/03/dynamic-custom-event#comments</comments>
		<pubDate>Tue, 31 Mar 2009 19:07:50 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.andreanaya.com/?p=123</guid>
		<description><![CDATA[Custom Events has become very useful when you&#8217;re building more complex applications.
You create them for especific cases and usualy they came with especific parameters.
Let&#8217;s say you create a custom event for a video player class and you use it to check the loading progress and video playback events, like play, pause, playback progress and playback [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/03/dynamic-custom-event/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Papervision3D &#8211; Max3DS Parser bug</title>
		<link>http://blog.andreanaya.com/lang/en/2009/03/papervision3d-max3ds-parser-bug</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/03/papervision3d-max3ds-parser-bug#comments</comments>
		<pubDate>Fri, 27 Mar 2009 23:14:30 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[papervision]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://blog.andreanaya.com/?p=105</guid>
		<description><![CDATA[Since papervision added the Max3DS parser I&#8217;ve been working with it instead of DAE. Although there&#8217;s a bug that I noticed when I imported an asymmetric model to my scene. It appear to be mirrored at the X axis. I was in a rush so I took the easy way, and flipped my model before [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/03/papervision3d-max3ds-parser-bug/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Loader issue</title>
		<link>http://blog.andreanaya.com/lang/en/2009/03/loader-issue</link>
		<comments>http://blog.andreanaya.com/lang/en/2009/03/loader-issue#comments</comments>
		<pubDate>Mon, 23 Mar 2009 15:35:32 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.blog.andreanaya.com/?p=12</guid>
		<description><![CDATA[
Last friday I was checking Flash Bookmarks and I noticed a question about Loader.
While ago I needed to load a file using a Loader and then add it to the stage. However it raised an error.
ArgumentError: Error #2025 : The supplied DisplayObject must be a child of the caller.

To solve the problem I needed to [...]]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2009/03/loader-issue/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Soundcard check</title>
		<link>http://blog.andreanaya.com/lang/en/2008/09/soundcard-check</link>
		<comments>http://blog.andreanaya.com/lang/en/2008/09/soundcard-check#comments</comments>
		<pubDate>Tue, 16 Sep 2008 23:32:23 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.blog.andreanaya.com/?p=7</guid>
		<description><![CDATA[
To check if the soundcard is available, test if the SoundChannel class is not null

var sound:Sound = new Sound&#40;&#41;;
var channel:SoundChannel = sound.play&#40;&#41;;
&#160;
if&#40;channel != null&#41;&#123;
    trace&#40;&#34;Soundcard available&#34;&#41;;
&#125;else&#123;
    trace&#40;&#34;Soundcard not available&#34;&#41;;
&#125;

]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2008/09/soundcard-check/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>numberLoop</title>
		<link>http://blog.andreanaya.com/lang/en/2008/09/numberloop</link>
		<comments>http://blog.andreanaya.com/lang/en/2008/09/numberloop#comments</comments>
		<pubDate>Thu, 04 Sep 2008 00:01:44 +0000</pubDate>
		<dc:creator>Anaya</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.blog.andreanaya.com/?p=5</guid>
		<description><![CDATA[
 Here is a method that I use a lot when I need to loop a length of any kind

trace&#40;numberLoop&#40;103754, 3&#41;&#41;;
//2
&#160;
trace&#40;numberLoop&#40;686.9384, 17.53&#41;&#41;;
//3.268399999999957
&#160;
trace&#40;numberLoop&#40;Math.PI*13/6, Math.PI*2&#41;&#41;;
//0.5235987755982991 rad - radToDegree == 0.5235987755982991*180/Math.PI -&#38;gt; 30.000000000000014º
&#160;
trace&#40;numberLoop&#40;-2187.4, 2&#41;&#41;;
//0.599999999999909
&#160;
function numberLoop&#40;n:Number, t:Number&#41;:Number &#123;
	if&#40;t&#60;=0&#41;&#123;
		throw new Error&#40;&#34;Total must be greater thant 0&#34;&#41;;
	&#125;
&#160;
	return &#40;n%t+t&#41;%t;
&#125;

]]></description>
		<wfw:commentRss>http://blog.andreanaya.com/lang/en/2008/09/numberloop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
