<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - adrianparr</title>
<link>http://snipplr.com/users/adrianparr/tags/as3</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 13:21:57 GMT</pubDate>
<item>
<title>(ActionScript 3) AS3 Drawing Shapes (ARC, BURST, DASHED-LINE, GEAR, POLYGON, STAR, WEDGE, LINE)</title>
<link>http://snipplr.com/view/67582/as3-drawing-shapes-arc-burst-dashedline-gear-polygon-star-wedge-line/</link>
<description><![CDATA[ <p>Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 22:45:24 GMT</pubDate>
<guid>http://snipplr.com/view/67582/as3-drawing-shapes-arc-burst-dashedline-gear-polygon-star-wedge-line/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Remove Tabs and NewLine Characters</title>
<link>http://snipplr.com/view/65761/as3-remove-tabs-and-newline-characters/</link>
<description><![CDATA[ <p>If you load text in from an XML file that is wrapped in CDATA tags using 'XML.ignoreWhitespace = true' does not work. This function removes the tabs and linebreaks. To have linebreaks use '' tags.</p> ]]></description>
<pubDate>Fri, 22 Jun 2012 19:30:41 GMT</pubDate>
<guid>http://snipplr.com/view/65761/as3-remove-tabs-and-newline-characters/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 MathUtils static class</title>
<link>http://snipplr.com/view/65581/as3-mathutils-static-class/</link>
<description><![CDATA[ <p>Credit goes to Bruno Imbrizi.</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:56:19 GMT</pubDate>
<guid>http://snipplr.com/view/65581/as3-mathutils-static-class/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Map a Number within one range to another range</title>
<link>http://snipplr.com/view/65580/as3-map-a-number-within-one-range-to-another-range/</link>
<description><![CDATA[ <p>Credit goes to Bruno Imbrizi.</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:53:34 GMT</pubDate>
<guid>http://snipplr.com/view/65580/as3-map-a-number-within-one-range-to-another-range/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Click-and-Rotate Content</title>
<link>http://snipplr.com/view/64747/as3-clickandrotate-content/</link>
<description><![CDATA[ <p>This code is taken from David Stiller's post on the CommunityMX website. All credit goes to him.</p> ]]></description>
<pubDate>Thu, 26 Apr 2012 19:47:01 GMT</pubDate>
<guid>http://snipplr.com/view/64747/as3-clickandrotate-content/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 getVisibleBounds</title>
<link>http://snipplr.com/view/63449/as3-getvisiblebounds/</link>
<description><![CDATA[ <p>All credit for this goes to Zach Foley (aka Plastic Sturgeon)</p> ]]></description>
<pubDate>Mon, 20 Feb 2012 21:09:35 GMT</pubDate>
<guid>http://snipplr.com/view/63449/as3-getvisiblebounds/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Convert TextField LineBreaks to CRLF for Display as Plain Text (Notepad) on Windows</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</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) AS3 Insert and Delete Characters at TextField CaretIndex Position</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) AS3 Decimal To Hex</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 Left and Right Cursor Key Presses</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</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 Getting the Distance Between Two Geographical Points</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>(ActionScript 3) AS3 Truncating Decimal Number</title>
<link>http://snipplr.com/view/57204/as3-truncating-decimal-number/</link>
<description><![CDATA[ <p>Examples of different ways to truncate/round a decimal number.</p> ]]></description>
<pubDate>Wed, 27 Jul 2011 22:23:54 GMT</pubDate>
<guid>http://snipplr.com/view/57204/as3-truncating-decimal-number/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Create Random Password</title>
<link>http://snipplr.com/view/56932/as3-create-random-password/</link>
<description><![CDATA[ <p>Based upon this (https://gist.github.com/988479) but made a few fixes.</p> ]]></description>
<pubDate>Thu, 21 Jul 2011 00:26:45 GMT</pubDate>
<guid>http://snipplr.com/view/56932/as3-create-random-password/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Loading and Accessing fonts in external SWF at Runtime</title>
<link>http://snipplr.com/view/56917/as3-loading-and-accessing-fonts-in-external-swf-at-runtime/</link>
<description><![CDATA[ <p>These two classes demonstrate how to create an external font SWF that contains embedded fonts, and how to then load that external font SWF and access and use the fonts inside it.</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 21:01:41 GMT</pubDate>
<guid>http://snipplr.com/view/56917/as3-loading-and-accessing-fonts-in-external-swf-at-runtime/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Example Font SWF</title>
<link>http://snipplr.com/view/56912/as3-example-font-swf/</link>
<description><![CDATA[ <p>This font SWF was created using the handy tool FontSwffer (http://blog.madebypi.co.uk/2011/02/28/fontswffer-1-1/)</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 19:43:00 GMT</pubDate>
<guid>http://snipplr.com/view/56912/as3-example-font-swf/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Post tinyurl to Twitter via Twitter webpage</title>
<link>http://snipplr.com/view/56879/as3-post-tinyurl-to-twitter-via-twitter-webpage/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Jul 2011 01:28:06 GMT</pubDate>
<guid>http://snipplr.com/view/56879/as3-post-tinyurl-to-twitter-via-twitter-webpage/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Remove namespace from XML</title>
<link>http://snipplr.com/view/56876/as3-remove-namespace-from-xml/</link>
<description><![CDATA[ <p>If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 00:29:08 GMT</pubDate>
<guid>http://snipplr.com/view/56876/as3-remove-namespace-from-xml/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Get formatted time from dirty timestamp string</title>
<link>http://snipplr.com/view/56330/as3-get-formatted-time-from-dirty-timestamp-string/</link>
<description><![CDATA[ <p>I was working on a project where the timestamp string I was getting from the backend developer was pretty dirty in the way it was formatted. For example, it looked like "/Date(1310127448000+0100)/". I needed to get a nicely formatted time from it in the format hrs:mins</p> ]]></description>
<pubDate>Fri, 08 Jul 2011 23:20:17 GMT</pubDate>
<guid>http://snipplr.com/view/56330/as3-get-formatted-time-from-dirty-timestamp-string/</guid>
</item>
</channel>
</rss>