<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - unkiwii</title>
<link>http://snipplr.com/users/unkiwii</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 07:12:24 GMT</pubDate>
<item>
<title>(ActionScript 3) Object Builder</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>
</channel>
</rss>