<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>H1DD3N.R350URC3 &#187; Templates</title>
	<atom:link href="http://blog.hexagonstar.com/tag/templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hexagonstar.com</link>
	<description>&#34;Chaotic Neutral&#34;</description>
	<lastBuildDate>Wed, 03 Mar 2010 04:56:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
    <title>H1DD3N.R350URC3</title>
    <url>http://blog.hexagonstar.com/feed-logo.png</url>
    <link>http://blog.hexagonstar.com</link>
    <width>144</width>
    <height>36</height>
    <description>H1DD3N.R350URC3 - http://blog.hexagonstar.com</description>
    </image>		<item>
		<title>FDT Template: Quick-create Child DisplayObject</title>
		<link>http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/</link>
		<comments>http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 12:20:09 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[FDT]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Templates]]></category>

		<guid isPermaLink="false">http://blog.hexagonstar.com/?p=865</guid>
		<description><![CDATA[Let&#8217;s burrow some in my FDT templates crate &#8230; how often do you have to add a child display object to another display object? If the answer is &#8216;very often&#8217; then this small FDT template might save you some time.

$&#123;property&#125; = new $&#123;cursor&#125;;
addChild&#40;$&#123;property&#125;&#41;;

It&#8217;s very simple but effective. Usage: Let&#8217;s for example name this template &#8220;newDisplayObject&#8221; ]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s burrow some in my FDT templates crate &#8230; how often do you have to add a child display object to another display object? If the answer is &#8216;very often&#8217; then this small FDT template might save you some time.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">$<span style="color: #000000;">&#123;</span>property<span style="color: #000000;">&#125;</span> = <span style="color: #0033ff; font-weight: bold;">new</span> $<span style="color: #000000;">&#123;</span>cursor<span style="color: #000000;">&#125;</span>;
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>$<span style="color: #000000;">&#123;</span>property<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>It&#8217;s very simple but effective. Usage: Let&#8217;s for example name this template &#8220;newDisplayObject&#8221; and after invoking it with CTRL+SPACE you start typing the name of the display object property that you defined as a class property before which then should be auto-completed, then you hit TAB and then CTRL+SPACE to quick-insert the type after the &#8216;new&#8217; operator (FDT is finding the correct type for you) and Voila, you&#8217;re finished, no need to add that extra &#8216;addChild&#8217; manually.</p>
<img src="http://blog.hexagonstar.com/?ak_action=api_record_view&id=865&type=feed" alt="" /><br /><small>© 2009 <a href="http://blog.hexagonstar.com">H1DD3N.R350URC3</a>. | <a href="http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/">Permalink</a> | <a href="http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/#comments">1 comment</a> | Tags: <a href="http://blog.hexagonstar.com/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://blog.hexagonstar.com/tag/fdt/" rel="tag">FDT</a>, <a href="http://blog.hexagonstar.com/tag/flash/" rel="tag">Flash</a>, <a href="http://blog.hexagonstar.com/tag/templates/" rel="tag">Templates</a> | Add to <a href="http://del.icio.us/post?url=http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/&title=FDT Template: Quick-create Child DisplayObject">del.icio.us</a></small>]]></content:encoded>
			<wfw:commentRss>http://blog.hexagonstar.com/fdt-template-quick-create-child-displayobject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<series:name><![CDATA[FDT Templates]]></series:name>
	</item>
	</channel>
</rss>
