<?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>RBLAB &#187; as3</title>
	<atom:link href="http://www.rblab.com/blog/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rblab.com/blog</link>
	<description>Blog of Riccardo Bartoli about Flash and Actionscript...</description>
	<lastBuildDate>Sun, 21 Mar 2010 18:11:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[AS3 SNIPPET] Convert Array to Vector</title>
		<link>http://www.rblab.com/blog/2010/03/as3-snippet-convert-array-to-vector/</link>
		<comments>http://www.rblab.com/blog/2010/03/as3-snippet-convert-array-to-vector/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:54:21 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=703</guid>
		<description><![CDATA[var array : Array = ["a", "b", "c"]; var vector : Vector.&#60;String&#62; = Vector.&#60;String&#62;(array);]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2010/03/as3-snippet-convert-array-to-vector/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 5 – Keyboard Shortcuts</title>
		<link>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-%e2%80%93-part-5-%e2%80%93-keyboard-shortcuts/</link>
		<comments>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-%e2%80%93-part-5-%e2%80%93-keyboard-shortcuts/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:36:36 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=288</guid>
		<description><![CDATA[SEARCHING CTRL + Shift + R Jump to a resource. Includes classes and any other files (such as XML files) CTRL + H Search (rather than find) allows you to search within the entire workspace CTRL + F Search in one file (CTRL+K/CTRL+SHIFT+K: next/previous) CTRL + J Find within document. Type the word you want [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-%e2%80%93-part-5-%e2%80%93-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 4 – Customization</title>
		<link>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-4-customization/</link>
		<comments>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-4-customization/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:07:32 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=241</guid>
		<description><![CDATA[1) Eclipse Splash Screen There are two ways of changing the Eclipse splash screen, manually or using the Random Splash Screen plugin: Manually Put the &#8220;splash.bmp&#8221; file in the folder C:\eclipse\ and add the following line to the file C:\eclipse\eclipse.ini: -showsplash splash.bmp Random Splash Screen Everytime Eclipse starts, Random Splash Screen overwrites Eclipse&#8217;s splash screen [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-4-customization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration</title>
		<link>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-3-configuration/</link>
		<comments>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-3-configuration/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 02:16:20 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=243</guid>
		<description><![CDATA[In the second post of the serie I suggested some useful plugins. Now is time to configure the Eclipse and FDT installation. Obviously this is my way of configuring both, so if you would like to make some changes I suggest you to explore all the menus and submenus in Eclipse because you&#8217;ll find a [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-part-3-configuration/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Convert date in time interval string</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-convert-date-in-time-interval-string/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-convert-date-in-time-interval-string/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:30:45 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=469</guid>
		<description><![CDATA[function formatDate(d:Date):String { var now:Date = new Date(); var diff:Number = (now.time - d.time) / 1000; // convert to seconds if (diff < 60) // just posted { return "Just posted"; } else if (diff < 3600) // n minutes ago { return (Math.round(diff / 60) + " minutes ago"); } else if (diff < [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-convert-date-in-time-interval-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Convert seconds to ww:dd:hh:mm:ss</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-convert-seconds-to-wwddhhmmss/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-convert-seconds-to-wwddhhmmss/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:25:05 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=466</guid>
		<description><![CDATA[function convertTime(number:Number):String { number = Math.abs(number); var values:Array = new Array(5); values[0] = Math.floor(number / 86400 / 7);// weeks values[1] = Math.floor(number / 86400 % 7);// days values[2] = Math.floor(number / 3600 % 24);// hours values[3] = Math.floor(number / 60 % 60);// mins values[4] = Math.floor(number % 60);// secs var stopage:Boolean = false; var cutIndex:Number [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-convert-seconds-to-wwddhhmmss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Legal age verification</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-legal-age-verification/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-legal-age-verification/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:21:12 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=463</guid>
		<description><![CDATA[var legalAge:int = 18; var userDOB:Date = new Date(year, month - 1, day); var today : Date = new Date(); var diff:Date = new Date(); diff.setTime(today.getTime() - userDOB.getTime()); var userAge:int = diff.getFullYear() - 1970; if(userAge &#62;= legalAge) { trace("lets get pissed!"); } else { trace("go away!"); } Source: http://mrdoob.com/blog/post/633]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-legal-age-verification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Format day, month and year to full date</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-format-day-month-and-year-to-full-date/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-format-day-month-and-year-to-full-date/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:13:58 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=460</guid>
		<description><![CDATA[function formatFullDate(year:Number, month:Number, day:Number):String { var days:Array = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); var months:Array = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); var currentDate:Date = new Date(year, month - 1, day, 1, 1); var currentDay:String = days[currentDate.getDay()]; var currentMonth:String = months[currentDate.getMonth()]; var output:String = currentDay [...]]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-format-day-month-and-year-to-full-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Detect if mouse pointer is over/out of the stage area</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-mouse-pointer-is-overout-of-the-stage-area/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-mouse-pointer-is-overout-of-the-stage-area/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 03:27:14 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=443</guid>
		<description><![CDATA[stage.addEventListener (Event.MOUSE_LEAVE, leaveHandler); stage.addEventListener (MouseEvent.MOUSE_MOVE, returnHandler); function leaveHandler(event:Event):void { trace("leaveHandler"); stage.addEventListener (MouseEvent.MOUSE_MOVE, returnHandler); } function returnHandler(event:Event):void { trace("returnHandler"); stage.removeEventListener(MouseEvent.MOUSE_MOVE, returnHandler); } Event.MOUSE_LEAVE: dispatched by the Stage object when the mouse pointer moves out of the stage area. MouseEvent.MOUSE_MOVE: Dispatched when a user moves the pointing device while it is over an InteractiveObject.]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-mouse-pointer-is-overout-of-the-stage-area/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[AS3 SNIPPET] Detect if Flash movie gain/lose focus</title>
		<link>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-flash-movie-gainlose-focus/</link>
		<comments>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-flash-movie-gainlose-focus/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 03:24:45 +0000</pubDate>
		<dc:creator>Riccardo</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.rblab.com/blog/?p=440</guid>
		<description><![CDATA[stage.addEventListener(Event.ACTIVATE, activateHandler); stage.addEventListener(Event.DEACTIVATE, deactivateHandler); function activateHandler(event:Event):void { trace("activateHandler"); } function deactivateHandler(event:Event):void { trace("deactivateHandler"); } Event.ACTIVATE is dispatched when the Flash Player or AIR application gains operating system focus and becomes active. Event.DEACTIVATE is dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.]]></description>
		<wfw:commentRss>http://www.rblab.com/blog/2009/07/as3-snippet-detect-if-flash-movie-gainlose-focus/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
