<?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/language/actionscript-3</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 08:06:52 GMT</pubDate>
<item>
<title>(ActionScript 3) ActionScript 3 SliceBitmap Class - burnandbass</title>
<link>http://snipplr.com/view/63280/actionscript-3-slicebitmap-class/</link>
<description><![CDATA[ <p>just slice bitmap class, takes DisplayObject, return array of BitmapData's

Can be used to do something like this: http://burnandbass.com/basstaslider</p> ]]></description>
<pubDate>Sun, 12 Feb 2012 06:46:10 GMT</pubDate>
<guid>http://snipplr.com/view/63280/actionscript-3-slicebitmap-class/</guid>
</item>
<item>
<title>(ActionScript 3) ActionScript 3 - Shuffle (random no repetition) - donnydonny</title>
<link>http://snipplr.com/view/63252/actionscript-3--shuffle-random-no-repetition/</link>
<description><![CDATA[ <p>Random generator with no repetiotion using ActionScript 3</p> ]]></description>
<pubDate>Sat, 11 Feb 2012 03:51:34 GMT</pubDate>
<guid>http://snipplr.com/view/63252/actionscript-3--shuffle-random-no-repetition/</guid>
</item>
<item>
<title>(ActionScript 3) Python: Last.fm Simple API Example - chrisaiv</title>
<link>http://snipplr.com/view/63161/python-lastfm-simple-api-example/</link>
<description><![CDATA[ <p>Recently I needed to capture a JSON feed of the top artists from Last.fm.  The script makes a request for a JSON response which I later treat as a dictionary object. You'll probably need to sign up for an API Key before using this script</p> ]]></description>
<pubDate>Wed, 08 Feb 2012 06:19:18 GMT</pubDate>
<guid>http://snipplr.com/view/63161/python-lastfm-simple-api-example/</guid>
</item>
<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) Simple Facebook Using GraphAPI_Web.Swc In As3 - Matias</title>
<link>http://snipplr.com/view/63044/simple-facebook-using-graphapiwebswc-in-as3/</link>
<description><![CDATA[ <p>a handy class to manage facebook connections using as3</p> ]]></description>
<pubDate>Sat, 04 Feb 2012 02:27:18 GMT</pubDate>
<guid>http://snipplr.com/view/63044/simple-facebook-using-graphapiwebswc-in-as3/</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) Upload Image To Facebook using GraphAPI_Web.swc in as3 - Matias</title>
<link>http://snipplr.com/view/63016/upload-image-to-facebook-using-graphapiwebswc-in-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 05:38:19 GMT</pubDate>
<guid>http://snipplr.com/view/63016/upload-image-to-facebook-using-graphapiwebswc-in-as3/</guid>
</item>
<item>
<title>(ActionScript 3) Random Number Between Max and Min - GeorgeCross</title>
<link>http://snipplr.com/view/63014/random-number-between-max-and-min/</link>
<description><![CDATA[ <p>Functions that returns a number between min &amp; max, as integer or decimal.</p> ]]></description>
<pubDate>Fri, 03 Feb 2012 02:46:21 GMT</pubDate>
<guid>http://snipplr.com/view/63014/random-number-between-max-and-min/</guid>
</item>
<item>
<title>(ActionScript 3) Random Number Between Max and Min - GeorgeCross</title>
<link>http://snipplr.com/view/63010/random-number-between-max-and-min/</link>
<description><![CDATA[ <p>Functions that returns a number between min &amp; max, as integer or decimal.</p> ]]></description>
<pubDate>Fri, 03 Feb 2012 01:55:57 GMT</pubDate>
<guid>http://snipplr.com/view/63010/random-number-between-max-and-min/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Renference Error with Parent/Child Custom Class - visualadvance</title>
<link>http://snipplr.com/view/62958/as3-renference-error-with-parentchild-custom-class/</link>
<description><![CDATA[ <p>Odd error occurs when loading a swf into another swf when using a custom class. If it does happen, just put an empty reference to the class in your parent file.</p> ]]></description>
<pubDate>Wed, 01 Feb 2012 04:04:59 GMT</pubDate>
<guid>http://snipplr.com/view/62958/as3-renference-error-with-parentchild-custom-class/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 - trim text for specific width and heigh - burnandbass</title>
<link>http://snipplr.com/view/62792/as3--trim-text-for-specific-width-and-heigh/</link>
<description><![CDATA[ <p>Hi;

Sometimes you need to "trim" textifield for specific height... This solves just this, perfect for news, news-readers, rss etc</p> ]]></description>
<pubDate>Thu, 26 Jan 2012 22:13:05 GMT</pubDate>
<guid>http://snipplr.com/view/62792/as3--trim-text-for-specific-width-and-heigh/</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) AutoPilot - cycle items in some seconds - burnandbass</title>
<link>http://snipplr.com/view/62624/autopilot--cycle-items-in-some-seconds/</link>
<description><![CDATA[ <p>This is lightwave script, made for banners/slideshows. You pass number items, time for slide and autostart. If you have 5 items and pass 2 seconds each, trought 2 seconds interval the numbers will be sldied (1,2,3,4,5,1,2,3,4,5,1,2,3..) and event will be passed. The code is self-explanary, for some real-world examples write me a comment</p> ]]></description>
<pubDate>Wed, 18 Jan 2012 20:46:02 GMT</pubDate>
<guid>http://snipplr.com/view/62624/autopilot--cycle-items-in-some-seconds/</guid>
</item>
<item>
<title>(ActionScript 3) タイマーのサンプル - yambal</title>
<link>http://snipplr.com/view/62589//</link>
<description><![CDATA[ <p>ユーティリティにしたら便利かな</p> ]]></description>
<pubDate>Tue, 17 Jan 2012 02:09:00 GMT</pubDate>
<guid>http://snipplr.com/view/62589//</guid>
</item>
<item>
<title>(ActionScript 3) Tweening to a Relative Position using a Variable in TweenMax - yannxou</title>
<link>http://snipplr.com/view/62585/tweening-to-a-relative-position-using-a-variable-in-tweenmax/</link>
<description><![CDATA[ <p>If you want to tween an object relatively, but the new value changes and needs to be a variable, just cast it as a string.</p> ]]></description>
<pubDate>Mon, 16 Jan 2012 23:23:51 GMT</pubDate>
<guid>http://snipplr.com/view/62585/tweening-to-a-relative-position-using-a-variable-in-tweenmax/</guid>
</item>
<item>
<title>(ActionScript 3) Move movieclip to top level - agentOptimise</title>
<link>http://snipplr.com/view/62541/move-movieclip-to-top-level/</link>
<description><![CDATA[ <p>Set movieclip to highest level in AS3</p> ]]></description>
<pubDate>Sat, 14 Jan 2012 02:36:37 GMT</pubDate>
<guid>http://snipplr.com/view/62541/move-movieclip-to-top-level/</guid>
</item>
<item>
<title>(ActionScript 3) Birth date validation - steppannws</title>
<link>http://snipplr.com/view/62522/birth-date-validation/</link>
<description><![CDATA[ <p>Validate Birth day.</p> ]]></description>
<pubDate>Fri, 13 Jan 2012 01:54:32 GMT</pubDate>
<guid>http://snipplr.com/view/62522/birth-date-validation/</guid>
</item>
<item>
<title>(ActionScript 3) Trial period - burnandbass</title>
<link>http://snipplr.com/view/62217/trial-period/</link>
<description><![CDATA[ <p>Use this if you need to make "trial period" to your app with Shared Objects. It is veri simple to use:

if(Validator.isActive(0,0,1)){
				trace("ENTER");
			} else {
				trace("YOUR DEMO IS OVER");
			}

this demo will be active only 1 minute. Pass the validor Validator.isActive(days,hours,minutes) number of days, hours and minutes and it will return boolean.</p> ]]></description>
<pubDate>Mon, 02 Jan 2012 04:45:15 GMT</pubDate>
<guid>http://snipplr.com/view/62217/trial-period/</guid>
</item>
<item>
<title>(ActionScript 3) Simple, but very robust Mad Libs algoritm - burnandbass</title>
<link>http://snipplr.com/view/62150/simple-but-very-robust-mad-libs-algoritm/</link>
<description><![CDATA[ <p>This is very simple script, you can add ass meny items and arrays as you want. You can change the separator and/or enging of the sentance. It can be very easily modified to work with external XML files</p> ]]></description>
<pubDate>Wed, 28 Dec 2011 22:33:38 GMT</pubDate>
<guid>http://snipplr.com/view/62150/simple-but-very-robust-mad-libs-algoritm/</guid>
</item>
<item>
<title>(ActionScript 3) LightLoader - load array of images, GC, bug fixes, 1.2k compressed - burnandbass</title>
<link>http://snipplr.com/view/62059/lightloader--load-array-of-images-gc-bug-fixes-12k-compressed/</link>
<description><![CDATA[ <p>This is VERY BASIC loading class, the idea is to load array of images and when they're loaded you can retrve them via ChromeLoader.getContent() method, just pass ID. In the constructor you got prepend url (for example images/) and "backup" (example "/backup" ). This will be used if the loader... The names of the functions are self-exaplanary, this is perfect solution for lightwave banners. 
v 1.1 - GarbageCollection added</p> ]]></description>
<pubDate>Wed, 21 Dec 2011 23:02:35 GMT</pubDate>
<guid>http://snipplr.com/view/62059/lightloader--load-array-of-images-gc-bug-fixes-12k-compressed/</guid>
</item>
</channel>
</rss>
