<?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</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 01:49:37 GMT</pubDate>
<item>
<title>(HTML) HTML5 Scrollbar Percentage Position using JavaScript</title>
<link>http://snipplr.com/view/69164/html5-scrollbar-percentage-position-using-javascript/</link>
<description><![CDATA[ <p>This JavaScript gets you the percentage position of the browser's scrollbar.</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 02:36:57 GMT</pubDate>
<guid>http://snipplr.com/view/69164/html5-scrollbar-percentage-position-using-javascript/</guid>
</item>
<item>
<title>(CSS) CSS @font-face Example</title>
<link>http://snipplr.com/view/67666/css-fontface-example/</link>
<description><![CDATA[ <p>Font Squirrel is a great place to convert your fonts to the different formats required.

http://www.fontsquirrel.com/fontface/generator</p> ]]></description>
<pubDate>Tue, 09 Oct 2012 23:51:39 GMT</pubDate>
<guid>http://snipplr.com/view/67666/css-fontface-example/</guid>
</item>
<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) JS OOP Example using a self-executing anonymous function</title>
<link>http://snipplr.com/view/64530/js-oop-example-using-a-selfexecuting-anonymous-function/</link>
<description><![CDATA[ <p>Watch Lee Brimelow's tutorial on GotoAndLearn to see what this is all about.</p> ]]></description>
<pubDate>Fri, 13 Apr 2012 01:54:56 GMT</pubDate>
<guid>http://snipplr.com/view/64530/js-oop-example-using-a-selfexecuting-anonymous-function/</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>(jQuery) jQuery Basic Setup</title>
<link>http://snipplr.com/view/62912/jquery-basic-setup/</link>
<description><![CDATA[ <p>Basic setup code for jQuery, linking to Google APIs for the jQuery library.</p> ]]></description>
<pubDate>Tue, 31 Jan 2012 02:58:06 GMT</pubDate>
<guid>http://snipplr.com/view/62912/jquery-basic-setup/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Parse TimedText (TT) XML Captions File</title>
<link>http://snipplr.com/view/62031/as3-parse-timedtext-tt-xml-captions-file/</link>
<description><![CDATA[ <p>TimedText (TT) XML captions files can have namespaces that cause problems when parsing them in AS3. To get around this you can use this code to remove the namespace from the root XML node using Regex. This example uses</p> ]]></description>
<pubDate>Wed, 21 Dec 2011 00:10:31 GMT</pubDate>
<guid>http://snipplr.com/view/62031/as3-parse-timedtext-tt-xml-captions-file/</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) AS2 Draw Circle</title>
<link>http://snipplr.com/view/57590/as2-draw-circle/</link>
<description><![CDATA[ <p>I recently has to work on an AS2 project (yuk) and create circles dynamically. Here is a handy function for this.</p> ]]></description>
<pubDate>Thu, 04 Aug 2011 02:27:28 GMT</pubDate>
<guid>http://snipplr.com/view/57590/as2-draw-circle/</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>
</channel>
</rss>