<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - chrisaiv</title>
<link>http://snipplr.com/users/chrisaiv/language/actionscript-3</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Oct 2008 17:15:49 GMT</pubDate>
<item>
<title>(ActionScript 3) AS3: Creating a SimpleButton with Dynamic Text</title>
<link>http://snipplr.com/view/8980/as3-creating-a-simplebutton-with-dynamic-text/</link>
<description><![CDATA[ <p>I wanted to include a dynamic TextField within SimpleButton and found that the process was different compared to how MovieClip works.</p> ]]></description>
<pubDate>Mon, 13 Oct 2008 12:39:08 GMT</pubDate>
<guid>http://snipplr.com/view/8980/as3-creating-a-simplebutton-with-dynamic-text/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Pass variables using SWFObject2 and AS3</title>
<link>http://snipplr.com/view/8512/as3-pass-variables-using-swfobject2-and-as3/</link>
<description><![CDATA[ <p>For almost every Flash project I present on the web, I use SWFObject and with version 2 out,  it's easier than ever to pass variables.  This is how I collect variables using Flash CS3</p> ]]></description>
<pubDate>Sat, 20 Sep 2008 16:58:00 GMT</pubDate>
<guid>http://snipplr.com/view/8512/as3-pass-variables-using-swfobject2-and-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Creating a Gradient Rectangle</title>
<link>http://snipplr.com/view/7050/as3-creating-a-gradient-rectangle/</link>
<description><![CDATA[ <p>So I've always found gradients to be confusing until I found this great tutorial online.</p> ]]></description>
<pubDate>Tue, 01 Jul 2008 12:17:08 GMT</pubDate>
<guid>http://snipplr.com/view/7050/as3-creating-a-gradient-rectangle/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Save JPEG's from Flash</title>
<link>http://snipplr.com/view/6653/as3-save-jpegs-from-flash/</link>
<description><![CDATA[ <p>I found this excellent tutorial on how to save JPEG images from Flash.  You will need the Adobe JPEG Encoder class which can be found here: http://code.google.com/p/as3corelib/.  You will also need some server-side action which in this case was done in PHP</p> ]]></description>
<pubDate>Wed, 11 Jun 2008 11:05:41 GMT</pubDate>
<guid>http://snipplr.com/view/6653/as3-save-jpegs-from-flash/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Regular Expression Basics</title>
<link>http://snipplr.com/view/6608/as3-regular-expression-basics/</link>
<description><![CDATA[ <p>1. RegExp.text(string) returns a Boolean
2. RegExp.exec(string) returns an Object
3. String.search(pattern) returns an int
4. String.match(pattern) returns an Array
5. String.replace(pattern, replace) returns a String</p> ]]></description>
<pubDate>Fri, 06 Jun 2008 13:12:47 GMT</pubDate>
<guid>http://snipplr.com/view/6608/as3-regular-expression-basics/</guid>
</item>
<item>
<title>(ActionScript 3) Basic Framework for writing JavaScript injections</title>
<link>http://snipplr.com/view/5729/basic-framework-for-writing-javascript-injections/</link>
<description><![CDATA[ <p>Some pretty cool stuff.  You can write JavaScript injections from ActionScript including local &amp; global variables and functions.</p> ]]></description>
<pubDate>Mon, 07 Apr 2008 01:27:45 GMT</pubDate>
<guid>http://snipplr.com/view/5729/basic-framework-for-writing-javascript-injections/</guid>
</item>
<item>
<title>(ActionScript 3) Compare Two Dates</title>
<link>http://snipplr.com/view/5728/compare-two-dates/</link>
<description><![CDATA[ <p>This should come in handy some day.</p> ]]></description>
<pubDate>Mon, 07 Apr 2008 01:20:29 GMT</pubDate>
<guid>http://snipplr.com/view/5728/compare-two-dates/</guid>
</item>
<item>
<title>(ActionScript 3) Opening a Thick Box iFrame from Flash</title>
<link>http://snipplr.com/view/5727/opening-a-thick-box-iframe-from-flash/</link>
<description><![CDATA[ <p>Found this script on DesignFission's website and found it to be pretty handy.</p> ]]></description>
<pubDate>Mon, 07 Apr 2008 01:17:50 GMT</pubDate>
<guid>http://snipplr.com/view/5727/opening-a-thick-box-iframe-from-flash/</guid>
</item>
<item>
<title>(ActionScript 3) Flash E-mail This Validator</title>
<link>http://snipplr.com/view/5377/flash-email-this-validator/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Mar 2008 01:28:21 GMT</pubDate>
<guid>http://snipplr.com/view/5377/flash-email-this-validator/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: onAdded Event Listener</title>
<link>http://snipplr.com/view/5240/as3-onadded-event-listener/</link>
<description><![CDATA[ <p>The point of this listener is to detect when something has been added to the stage.  Purely experimental.</p> ]]></description>
<pubDate>Thu, 28 Feb 2008 13:08:38 GMT</pubDate>
<guid>http://snipplr.com/view/5240/as3-onadded-event-listener/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Weakly Referenced Listeners</title>
<link>http://snipplr.com/view/5239/as3-weakly-referenced-listeners/</link>
<description><![CDATA[ <p>GSkinner show's how to set up a weak listener that way Garbage Collection can come around and recollect some memory when it needs to. 

Here's another resource that gives a more in depth look:
http://createandgrow.com/blog/?p=6</p> ]]></description>
<pubDate>Thu, 28 Feb 2008 12:12:30 GMT</pubDate>
<guid>http://snipplr.com/view/5239/as3-weakly-referenced-listeners/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Sending and Recieving Data using a GET Request</title>
<link>http://snipplr.com/view/5124/as3-sending-and-recieving-data-using-a-get-request/</link>
<description><![CDATA[ <p>I needed a way to do a Database lookup using GET.  This simple example sends a GET requests and shows how to collect a response that would look like this "success=true&amp;path=xyz.flv"</p> ]]></description>
<pubDate>Tue, 19 Feb 2008 18:13:33 GMT</pubDate>
<guid>http://snipplr.com/view/5124/as3-sending-and-recieving-data-using-a-get-request/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: onDragOver, onDragOut, onReleaseOutside</title>
<link>http://snipplr.com/view/5022/as3-ondragover-ondragout-onreleaseoutside/</link>
<description><![CDATA[ <p>Scott Morgan figured out a beautiful way to offer the AS2 Mouse Event onReleaseOutside.</p> ]]></description>
<pubDate>Tue, 12 Feb 2008 12:01:30 GMT</pubDate>
<guid>http://snipplr.com/view/5022/as3-ondragover-ondragout-onreleaseoutside/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Regular Expression Basic example</title>
<link>http://snipplr.com/view/5013/as3-regular-expression-basic-example/</link>
<description><![CDATA[ <p>The first example strips out the HTML.

The second example shows how to target a single quote using unicode.</p> ]]></description>
<pubDate>Mon, 11 Feb 2008 22:42:55 GMT</pubDate>
<guid>http://snipplr.com/view/5013/as3-regular-expression-basic-example/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Using URLLoader for Text and XML</title>
<link>http://snipplr.com/view/4997/as3-using-urlloader-for-text-and-xml/</link>
<description><![CDATA[ <p>URLLoader is not the same as Loader.  It is meant to load text, html, sound, xml, and swf content.  If you want to load an image, use Loader().</p> ]]></description>
<pubDate>Mon, 11 Feb 2008 17:46:25 GMT</pubDate>
<guid>http://snipplr.com/view/4997/as3-using-urlloader-for-text-and-xml/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Using Loader for SWFs, JPEGs, GIF, and PNGs</title>
<link>http://snipplr.com/view/4995/as3-using-loader-for-swfs-jpegs-gif-and-pngs/</link>
<description><![CDATA[ <p>The Loader class is used for handling Bitmap data such as jpegs, pngs and gifs.  The only handlers most will find relevant are progressHandler and onCompleteHandler but I listed all of the available ones for people interested in creating bulletproof apps.</p> ]]></description>
<pubDate>Mon, 11 Feb 2008 17:33:38 GMT</pubDate>
<guid>http://snipplr.com/view/4995/as3-using-loader-for-swfs-jpegs-gif-and-pngs/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Custom Preloader</title>
<link>http://snipplr.com/view/4955/as3-custom-preloader/</link>
<description><![CDATA[ <p>Create a 100 frame MovieClip animation in companion with this code to create a preloader. Place the rest of your Flash application on the following Scene or Frame</p> ]]></description>
<pubDate>Fri, 08 Feb 2008 18:17:07 GMT</pubDate>
<guid>http://snipplr.com/view/4955/as3-custom-preloader/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Flash Printing Basics</title>
<link>http://snipplr.com/view/4942/as3-flash-printing-basics/</link>
<description><![CDATA[ <p>Random notes on how to execute a Print function</p> ]]></description>
<pubDate>Fri, 08 Feb 2008 03:06:07 GMT</pubDate>
<guid>http://snipplr.com/view/4942/as3-flash-printing-basics/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Calling Google's Urchin Tracker from Flash</title>
<link>http://snipplr.com/view/4889/as3-calling-googles-urchin-tracker-from-flash/</link>
<description><![CDATA[ <p>Needed to figure out how to call Google's Urchin Tracker in AS3 since getURL is no longer available. This example uses External Interface</p> ]]></description>
<pubDate>Sun, 03 Feb 2008 21:45:29 GMT</pubDate>
<guid>http://snipplr.com/view/4889/as3-calling-googles-urchin-tracker-from-flash/</guid>
</item>
<item>
<title>(ActionScript 3) Create CDATA tags between XML nodes using AS</title>
<link>http://snipplr.com/view/4776/create-cdata-tags-between-xml-nodes-using-as/</link>
<description><![CDATA[ <p>I found this snippet which I think originally came from the Flex Cookbook website: http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&amp;productId=2</p> ]]></description>
<pubDate>Fri, 25 Jan 2008 11:55:43 GMT</pubDate>
<guid>http://snipplr.com/view/4776/create-cdata-tags-between-xml-nodes-using-as/</guid>
</item>
</channel>
</rss>