<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/as3</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Feb 2012 15:49:43 GMT</pubDate>
<item>
<title>(ActionScript 3) Object Builder - unkiwii</title>
<link>http://snipplr.com/view/63052/object-builder/</link>
<description><![CDATA[ <p>This is a helper class to create objects like if you were calling "apply" on the constructor object. An example:


class MyObject {
    public function MyObject(a, b, c) { ... }
}

// normal object creation
var a:MyObject = new MyObject('a', 'b', 'c');

// using ObjectBuilder
var p:Array = ['a', 'b', 'c'];
var b:MyOBject = ObjectBuilder.buildFromArray(MyObject, p);
</p> ]]></description>
<pubDate>Sat, 04 Feb 2012 04:41:11 GMT</pubDate>
<guid>http://snipplr.com/view/63052/object-builder/</guid>
</item>
<item>
<title>(ActionScript 3) Post to wall using GraphAPI_Web.swc AS3 - Matias</title>
<link>http://snipplr.com/view/63021/post-to-wall-using-graphapiwebswc-as3/</link>
<description><![CDATA[ <p>i assume that the Facebook api has been initialized and i have the "publish_stream permission" the picture can be taken of a particular area of the displayObject</p> ]]></description>
<pubDate>Fri, 03 Feb 2012 08:22:29 GMT</pubDate>
<guid>http://snipplr.com/view/63021/post-to-wall-using-graphapiwebswc-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Fade Toggle - earl</title>
<link>http://snipplr.com/view/62737/as3-fade-toggle/</link>
<description><![CDATA[ <p>this is a toggle for as3 using caurina</p> ]]></description>
<pubDate>Tue, 24 Jan 2012 07:09:30 GMT</pubDate>
<guid>http://snipplr.com/view/62737/as3-fade-toggle/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Convert TextField LineBreaks to CRLF for Display as Plain Text (Notepad) on Windows - adrianparr</title>
<link>http://snipplr.com/view/61990/as3-convert-textfield-linebreaks-to-crlf-for-display-as-plain-text-notepad-on-windows/</link>
<description><![CDATA[ <p>Linebreaks differ between Flash TextField and a plain text file like Notepad. In this example we convert the html linebreaks in Flash to \r\n</p> ]]></description>
<pubDate>Tue, 20 Dec 2011 02:01:19 GMT</pubDate>
<guid>http://snipplr.com/view/61990/as3-convert-textfield-linebreaks-to-crlf-for-display-as-plain-text-notepad-on-windows/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Pie Chart - adrianparr</title>
<link>http://snipplr.com/view/61685/as3-pie-chart/</link>
<description><![CDATA[ <p>Credit goes to http://snipplr.com/users/MaRmAR/</p> ]]></description>
<pubDate>Tue, 06 Dec 2011 03:00:46 GMT</pubDate>
<guid>http://snipplr.com/view/61685/as3-pie-chart/</guid>
</item>
<item>
<title>(ActionScript 3) Basic external XML loader - timr</title>
<link>http://snipplr.com/view/61501/basic-external-xml-loader/</link>
<description><![CDATA[ <p>Loads a specified XML file provided in the class constructor. Dispatches an event when the XML is loaded and ready.</p> ]]></description>
<pubDate>Fri, 02 Dec 2011 21:49:00 GMT</pubDate>
<guid>http://snipplr.com/view/61501/basic-external-xml-loader/</guid>
</item>
<item>
<title>(ActionScript 3) Device Shake – Accelerometer - vamapaull</title>
<link>http://snipplr.com/view/61217/device-shake--accelerometer/</link>
<description><![CDATA[ <p>An easy way to detect shakes on mobile devices with equipped accelerometer.</p> ]]></description>
<pubDate>Sat, 26 Nov 2011 09:26:39 GMT</pubDate>
<guid>http://snipplr.com/view/61217/device-shake--accelerometer/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Insert and Delete Characters at TextField CaretIndex Position - adrianparr</title>
<link>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</link>
<description><![CDATA[ <p>This code gets the current caretIndex in the textfield and then inserts the specified string at that point. The caretIndex position is then updated using setSelection, ready for the next insertion. This was developed to be used with an on-screen keyboard (for entering text into a textfield when the user is in fullscreen mode). The backspace button is intended to function in the same manner as pressing the delete key on your keyboard.</p> ]]></description>
<pubDate>Thu, 17 Nov 2011 22:09:46 GMT</pubDate>
<guid>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</guid>
</item>
<item>
<title>(ActionScript 3) Custom response headers URLRequest AS3 - sidneydekoning</title>
<link>http://snipplr.com/view/60880/custom-response-headers-urlrequest-as3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Nov 2011 13:07:09 GMT</pubDate>
<guid>http://snipplr.com/view/60880/custom-response-headers-urlrequest-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Calculating MPH using GeoLocation (version 2) - chrisaiv</title>
<link>http://snipplr.com/view/60825/as3-calculating-mph-using-geolocation-version-2/</link>
<description><![CDATA[ <p>Here's a more OOP version</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 04:52:42 GMT</pubDate>
<guid>http://snipplr.com/view/60825/as3-calculating-mph-using-geolocation-version-2/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Calculating MPH using GeoLocation (version 1) - chrisaiv</title>
<link>http://snipplr.com/view/60823/as3-calculating-mph-using-geolocation-version-1/</link>
<description><![CDATA[ <p>There are ways to calculate speed and altitude using the GeoLocation class.   In the US, you can even calculate Miles Per Hour.</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 04:35:52 GMT</pubDate>
<guid>http://snipplr.com/view/60823/as3-calculating-mph-using-geolocation-version-1/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Dealing with dashes in XML node names - weavermedia</title>
<link>http://snipplr.com/view/60510/as3-dealing-with-dashes-in-xml-node-names/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Nov 2011 20:53:58 GMT</pubDate>
<guid>http://snipplr.com/view/60510/as3-dealing-with-dashes-in-xml-node-names/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Decimal To Hex - adrianparr</title>
<link>http://snipplr.com/view/60387/as3-decimal-to-hex/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Nov 2011 04:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/60387/as3-decimal-to-hex/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 find angle from coordinates - weavermedia</title>
<link>http://snipplr.com/view/60385/as3-find-angle-from-coordinates/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Nov 2011 03:20:00 GMT</pubDate>
<guid>http://snipplr.com/view/60385/as3-find-angle-from-coordinates/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Left and Right Cursor Key Presses - adrianparr</title>
<link>http://snipplr.com/view/60223/as3-left-and-right-cursor-key-presses/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 Oct 2011 01:19:34 GMT</pubDate>
<guid>http://snipplr.com/view/60223/as3-left-and-right-cursor-key-presses/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Get Point Using Polar Co-ordinates - adrianparr</title>
<link>http://snipplr.com/view/60222/as3-get-point-using-polar-coordinates/</link>
<description><![CDATA[ <p>This function returns a point object based upon the position, angle and distance of a starting point (polar co-ordinates).</p> ]]></description>
<pubDate>Thu, 27 Oct 2011 01:10:07 GMT</pubDate>
<guid>http://snipplr.com/view/60222/as3-get-point-using-polar-coordinates/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 tiled background - carlskov</title>
<link>http://snipplr.com/view/59153/as3-tiled-background/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 27 Sep 2011 18:48:54 GMT</pubDate>
<guid>http://snipplr.com/view/59153/as3-tiled-background/</guid>
</item>
<item>
<title>(ActionScript 3) Flash Builder Embed Flash Pro shared asset - merrittwjm</title>
<link>http://snipplr.com/view/58532/flash-builder-embed-flash-pro-shared-asset/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 09 Sep 2011 04:11:41 GMT</pubDate>
<guid>http://snipplr.com/view/58532/flash-builder-embed-flash-pro-shared-asset/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Getting the Distance Between Two Geographical Points - adrianparr</title>
<link>http://snipplr.com/view/58443/as3-getting-the-distance-between-two-geographical-points/</link>
<description><![CDATA[ <p>Full credit for this goes to Terrence Ryan who converted the JavaScript version to ActionScript.</p> ]]></description>
<pubDate>Mon, 05 Sep 2011 05:31:37 GMT</pubDate>
<guid>http://snipplr.com/view/58443/as3-getting-the-distance-between-two-geographical-points/</guid>
</item>
<item>
<title>(MXML) Skinning of mxml button with png graphics - GunnarHKarlsson</title>
<link>http://snipplr.com/view/58266/skinning-of-mxml-button-with-png-graphics/</link>
<description><![CDATA[ <p>Don't set size of button in declaration e.g. width="80". It will distort the graphics.</p> ]]></description>
<pubDate>Mon, 29 Aug 2011 19:38:25 GMT</pubDate>
<guid>http://snipplr.com/view/58266/skinning-of-mxml-button-with-png-graphics/</guid>
</item>
</channel>
</rss>
