<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Skipping id in MXML to create private sub-components</title>
	<atom:link href="http://joshblog.net/2009/07/22/flex-mxml-private-child-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 21 May 2012 15:06:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-9925</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Wed, 18 May 2011 15:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-9925</guid>
		<description>No, I don&#039;t believe it has been addressed.</description>
		<content:encoded><![CDATA[<p>No, I don&#8217;t believe it has been addressed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan G.</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-9920</link>
		<dc:creator>Alan G.</dc:creator>
		<pubDate>Wed, 18 May 2011 12:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-9920</guid>
		<description>Nice solution.  Was SDK-219 ever addressed (its been around since 2007, wow)?  Is there a cleaner way to achieve this now?  This is clearly a problem from the standpoint of proper encapsulation.</description>
		<content:encoded><![CDATA[<p>Nice solution.  Was SDK-219 ever addressed (its been around since 2007, wow)?  Is there a cleaner way to achieve this now?  This is clearly a problem from the standpoint of proper encapsulation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gorman</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-1907</link>
		<dc:creator>Andy Gorman</dc:creator>
		<pubDate>Fri, 30 Apr 2010 16:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-1907</guid>
		<description>I think this is a very useful flex idiom. It may not be bullet proof, but I do feel better making an effort to increase encapsulation.</description>
		<content:encoded><![CDATA[<p>I think this is a very useful flex idiom. It may not be bullet proof, but I do feel better making an effort to increase encapsulation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Garland</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-1906</link>
		<dc:creator>Matt Garland</dc:creator>
		<pubDate>Thu, 23 Jul 2009 20:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-1906</guid>
		<description>Thanks! I&#039;ll take a look.</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;ll take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-1905</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Thu, 23 Jul 2009 16:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-1905</guid>
		<description>Hi Matt, it&#039;s not the same as JQuery, but I created something I called DisplayQuery (name similarities unintentional) for AS3. It&#039;s actually very much like E4X, but it&#039;s for the display list instead of XML. Here&#039;s an example of how it works:

&lt;pre&gt;var dq:DisplayQuery = new DisplayQuery(this);
//getChildByName() with @
var grandChild:Sprite = dq.@childName.@grandChildName.toDisplayObject();

//or

//descendants operator
grandChild = dq..@grandChildName.toDisplayObject();&lt;/pre&gt;

I haven&#039;t released it yet, but the code is floating around on my Google Code account: &lt;a href=&quot;http://code.google.com/p/josht-dot-org/source/browse/#svn/trunk/source/org/josht/dq&quot; rel=&quot;nofollow&quot;&gt;org.josht.dq.*&lt;/a&gt;. The classes work as closely to XML and XMLList as I could make them.

In the future, I may add support for CSS-style selectors, in addition to the &lt;code&gt;@&lt;/code&gt; and &lt;code&gt;..&lt;/code&gt; operators. I have a proof of concept where the code looks something like this:

&lt;pre&gt;var tf:TextField = dq..$[&quot;Sprite&gt;TextField&quot;];&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi Matt, it&#8217;s not the same as JQuery, but I created something I called DisplayQuery (name similarities unintentional) for AS3. It&#8217;s actually very much like E4X, but it&#8217;s for the display list instead of XML. Here&#8217;s an example of how it works:</p>
<pre>var dq:DisplayQuery = new DisplayQuery(this);
//getChildByName() with @
var grandChild:Sprite = dq.@childName.@grandChildName.toDisplayObject();

//or

//descendants operator
grandChild = <a href="mailto:dq..@grandChildName.toDisplayObject">dq..@grandChildName.toDisplayObject</a>();</pre>
<p>I haven&#8217;t released it yet, but the code is floating around on my Google Code account: <a href="http://code.google.com/p/josht-dot-org/source/browse/#svn/trunk/source/org/josht/dq" rel="nofollow">org.josht.dq.*</a>. The classes work as closely to XML and XMLList as I could make them.</p>
<p>In the future, I may add support for CSS-style selectors, in addition to the <code>@</code> and <code>..</code> operators. I have a proof of concept where the code looks something like this:</p>
<pre>var tf:TextField = dq..$["Sprite>TextField"];</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Garland</title>
		<link>http://joshblog.net/2009/07/22/flex-mxml-private-child-id/#comment-1904</link>
		<dc:creator>Matt Garland</dc:creator>
		<pubDate>Thu, 23 Jul 2009 16:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=662#comment-1904</guid>
		<description>I could see use cases for this, but after spending a week with JQuery, I&#039;d rather go the opposite direction: Flex need more DOM-like functionality for the view. I&#039;d like to grab types of objects more easily, either by id, partial id, class, etc. And I&#039;d like the ability to step down the display hierarchy without worrying about enclosing objects with no or different ids. Give me this power and I will not abuse it, promise. I spend too much time collecting and accessing object references.</description>
		<content:encoded><![CDATA[<p>I could see use cases for this, but after spending a week with JQuery, I&#8217;d rather go the opposite direction: Flex need more DOM-like functionality for the view. I&#8217;d like to grab types of objects more easily, either by id, partial id, class, etc. And I&#8217;d like the ability to step down the display hierarchy without worrying about enclosing objects with no or different ids. Give me this power and I will not abuse it, promise. I spend too much time collecting and accessing object references.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

