<?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: Quick tip (Flex 4): Goodbye templates &#8211; hello mxmlContent</title>
	<atom:link href="http://www.websector.de/blog/2009/10/02/quick-tip-flex-4-goodbye-templates-hello-mxmlcontent/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.websector.de/blog/2009/10/02/quick-tip-flex-4-goodbye-templates-hello-mxmlcontent/</link>
	<description>// Flex, AIR, Flash</description>
	<lastBuildDate>Sun, 05 Sep 2010 18:29:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Caspar</title>
		<link>http://www.websector.de/blog/2009/10/02/quick-tip-flex-4-goodbye-templates-hello-mxmlcontent/comment-page-1/#comment-49616</link>
		<dc:creator>Caspar</dc:creator>
		<pubDate>Tue, 13 Apr 2010 02:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=445#comment-49616</guid>
		<description>Here is an override for set mxmlContent:
			//allow the addition of mxml content further up the chain - allows the subclassing of mxml components
			override public function set mxmlContent(value:Array):void
			{
				var adding:Boolean = true;
				var index:int = 0;
				while ( adding ) {
					var ive:IVisualElement = null;
					try { 
						ive = super.getElementAt(index); 
					}
					catch (e:Error) {
					}
					
					if ( ive != null ) {
						value.unshift(ive);
						index++;
					}else{
						adding = false;
					}
				}
				super.mxmlContent = value;</description>
		<content:encoded><![CDATA[<p>Here is an override for set mxmlContent:<br />
			//allow the addition of mxml content further up the chain &#8211; allows the subclassing of mxml components<br />
			override public function set mxmlContent(value:Array):void<br />
			{<br />
				var adding:Boolean = true;<br />
				var index:int = 0;<br />
				while ( adding ) {<br />
					var ive:IVisualElement = null;<br />
					try {<br />
						ive = super.getElementAt(index);<br />
					}<br />
					catch (e:Error) {<br />
					}</p>
<p>					if ( ive != null ) {<br />
						value.unshift(ive);<br />
						index++;<br />
					}else{<br />
						adding = false;<br />
					}<br />
				}<br />
				super.mxmlContent = value;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sep</title>
		<link>http://www.websector.de/blog/2009/10/02/quick-tip-flex-4-goodbye-templates-hello-mxmlcontent/comment-page-1/#comment-49474</link>
		<dc:creator>sep</dc:creator>
		<pubDate>Mon, 19 Oct 2009 00:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.websector.de/blog/?p=445#comment-49474</guid>
		<description>Is there a way to get all the &quot;mxml content&quot; not only the top level ?</description>
		<content:encoded><![CDATA[<p>Is there a way to get all the &#8220;mxml content&#8221; not only the top level ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
