<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: How to add any AS object to a Flex Container (like a Sprite)</title>
	<atom:link href="http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/feed/" rel="self" type="application/rss+xml" />
	<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/</link>
	<description>Flex Bugs, Solutions, and News... from a quality perspective</description>
	<lastBuildDate>Mon, 16 Nov 2009 17:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tomas</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-3153</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Thu, 08 Jan 2009 06:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-3153</guid>
		<description>Wow! Thanks a million. I was stuck with trying to create a Sprite to draw on a canvas. Your solution made everything work just fine.

BTW, to the person that asked for an example:

// &#039;g&#039; is the id of a canvas created with mxml
var sevenup:Sprite = new Sprite();
// draw something with the Sprite
var uicomp:UIComponent = new UIComponent();
uicomp.id = &quot;whatever&quot;;
uicomp.addChild(sevenup);
g.addChild(uicomp); // and it works :)</description>
		<content:encoded><![CDATA[<p>Wow! Thanks a million. I was stuck with trying to create a Sprite to draw on a canvas. Your solution made everything work just fine.</p>
<p>BTW, to the person that asked for an example:</p>
<p>// &#8216;g&#8217; is the id of a canvas created with mxml<br />
var sevenup:Sprite = new Sprite();<br />
// draw something with the Sprite<br />
var uicomp:UIComponent = new UIComponent();<br />
uicomp.id = &#8220;whatever&#8221;;<br />
uicomp.addChild(sevenup);<br />
g.addChild(uicomp); // and it works <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Chance</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-2914</link>
		<dc:creator>Mark Chance</dc:creator>
		<pubDate>Tue, 15 Apr 2008 22:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-2914</guid>
		<description>I&#039;m trying the same thing, but all I get is a &quot;Cannot access a property or method of a null object reference&quot; when the code assigns a value to the align property of the stage.  The same code works fine when the AS object is the main class (i.e. the file compiled with mxmlc.  But blows up when included in an Application&#039;s Panel.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying the same thing, but all I get is a &#8220;Cannot access a property or method of a null object reference&#8221; when the code assigns a value to the align property of the stage.  The same code works fine when the AS object is the main class (i.e. the file compiled with mxmlc.  But blows up when included in an Application&#8217;s Panel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rxeno</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-1203</link>
		<dc:creator>rxeno</dc:creator>
		<pubDate>Fri, 14 Mar 2008 18:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-1203</guid>
		<description>Hello
thnx for all the info.
Do you have a working example of this Sprite integration?

thnx</description>
		<content:encoded><![CDATA[<p>Hello<br />
thnx for all the info.<br />
Do you have a working example of this Sprite integration?</p>
<p>thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-414</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Tue, 23 Oct 2007 14:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-414</guid>
		<description>There is one nice solution that may be useful - adding child in rawChildren. Look at example: rawChildren.addChild(yourSprite);</description>
		<content:encoded><![CDATA[<p>There is one nice solution that may be useful &#8211; adding child in rawChildren. Look at example: rawChildren.addChild(yourSprite);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlafferty</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-412</link>
		<dc:creator>jlafferty</dc:creator>
		<pubDate>Tue, 23 Oct 2007 08:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-412</guid>
		<description>What specifically would  you like to see? Have you tried the flex-flash integration kit? Does this bring us closer at all?</description>
		<content:encoded><![CDATA[<p>What specifically would  you like to see? Have you tried the flex-flash integration kit? Does this bring us closer at all?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Walker</title>
		<link>http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-410</link>
		<dc:creator>Brett Walker</dc:creator>
		<pubDate>Tue, 23 Oct 2007 00:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/2007/10/22/how-to-add-any-actionscript-object-to-a-container-like-a-sprite/#comment-410</guid>
		<description>I&#039;ve been doing that for a while using AS3 code (not MXML), but it&#039;s pretty kludgy. I pine for the days when using the Flex framework with Flash-based AS3 projects is transparent.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been doing that for a while using AS3 code (not MXML), but it&#8217;s pretty kludgy. I pine for the days when using the Flex framework with Flash-based AS3 projects is transparent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
