<?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: Building Flash CS3 components</title>
	<atom:link href="http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/</link>
	<description>Not another WordPress.com weblog :)</description>
	<lastBuildDate>Fri, 19 Jun 2009 02:37:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Novian</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-940</link>
		<dc:creator>Novian</dc:creator>
		<pubDate>Thu, 09 Apr 2009 23:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-940</guid>
		<description>Thanks for the putting the time in to create this tutorial. It was very helpful. 

One thing I forgot to do – which caused problems initially – was to save my .fla before I created my component. I walked through the tutorial again, saving my .fla first, then defined the component, and everything worked! 

Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks for the putting the time in to create this tutorial. It was very helpful. </p>
<p>One thing I forgot to do – which caused problems initially – was to save my .fla before I created my component. I walked through the tutorial again, saving my .fla first, then defined the component, and everything worked! </p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balaji</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-939</link>
		<dc:creator>Balaji</dc:creator>
		<pubDate>Fri, 27 Mar 2009 10:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-939</guid>
		<description>really this tutorial is great and fantastic</description>
		<content:encoded><![CDATA[<p>really this tutorial is great and fantastic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rollingsj</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-930</link>
		<dc:creator>rollingsj</dc:creator>
		<pubDate>Tue, 20 Jan 2009 21:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-930</guid>
		<description>I obviously spoke too soon.  After some experimenting, I discovered that you have to put *something* in the base MovieClip for the example to work.  Drawing a rectangle in the first frame of the component clip fixed these issues, and now it&#039;s up and running nicely.

Thanks again for this quick (not 120 pages) tutorial.</description>
		<content:encoded><![CDATA[<p>I obviously spoke too soon.  After some experimenting, I discovered that you have to put *something* in the base MovieClip for the example to work.  Drawing a rectangle in the first frame of the component clip fixed these issues, and now it&#8217;s up and running nicely.</p>
<p>Thanks again for this quick (not 120 pages) tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rollingsj</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-929</link>
		<dc:creator>rollingsj</dc:creator>
		<pubDate>Tue, 20 Jan 2009 20:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-929</guid>
		<description>Thanks for the article.  This is my first go at switching to AS3 component dev from AS2 in Flash.  I&#039;m not sure where I&#039;m going wrong here, but your example doesn&#039;t work for me.

When I add the compiled swc to the stage, there is no preview, and it won&#039;t allow me to set the width and height.  Setting these values via the Property Inspector in Flash simply resets them.  Compiling the swf then generates this error:

RangeError: Error #2006: The supplied index is out of bounds.
	at flash.display::DisplayObjectContainer/removeChildAt()
	at MyComponent/init()
	at MyComponent()
	at flash.display::Sprite/constructChildren()
	at flash.display::Sprite()
	at flash.display::MovieClip()</description>
		<content:encoded><![CDATA[<p>Thanks for the article.  This is my first go at switching to AS3 component dev from AS2 in Flash.  I&#8217;m not sure where I&#8217;m going wrong here, but your example doesn&#8217;t work for me.</p>
<p>When I add the compiled swc to the stage, there is no preview, and it won&#8217;t allow me to set the width and height.  Setting these values via the Property Inspector in Flash simply resets them.  Compiling the swf then generates this error:</p>
<p>RangeError: Error #2006: The supplied index is out of bounds.<br />
	at flash.display::DisplayObjectContainer/removeChildAt()<br />
	at MyComponent/init()<br />
	at MyComponent()<br />
	at flash.display::Sprite/constructChildren()<br />
	at flash.display::Sprite()<br />
	at flash.display::MovieClip()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barliesque</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-928</link>
		<dc:creator>Barliesque</dc:creator>
		<pubDate>Thu, 01 Jan 2009 00:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-928</guid>
		<description>Eureka! I’ve done it! After seemingly endless trial and error, I finally succeeded at making an SWC-based component entirely with Flash CS3, and my own custom UI, all written in AS3. I’ve just posted a tutorial along with the source:

http://studio.barliesque.com/blog/2008/12/as3-component-custom-ui/

Thanks &quot;smackme&quot; for your article posted here, which gave me a start.  Getting the control panel to work seamlessly with the component, however, gave me plenty to chew on.  Please have a look and let me know what you think!

Unfortunately, the I was unable to solve was the rotation bug described above.  And, regarding another issue described above, it appears that components can not be tweened on the timeline.  At least not in CS3... maybe in Flash CS4?</description>
		<content:encoded><![CDATA[<p>Eureka! I’ve done it! After seemingly endless trial and error, I finally succeeded at making an SWC-based component entirely with Flash CS3, and my own custom UI, all written in AS3. I’ve just posted a tutorial along with the source:</p>
<p><a href="http://studio.barliesque.com/blog/2008/12/as3-component-custom-ui/" rel="nofollow">http://studio.barliesque.com/blog/2008/12/as3-component-custom-ui/</a></p>
<p>Thanks &#8220;smackme&#8221; for your article posted here, which gave me a start.  Getting the control panel to work seamlessly with the component, however, gave me plenty to chew on.  Please have a look and let me know what you think!</p>
<p>Unfortunately, the I was unable to solve was the rotation bug described above.  And, regarding another issue described above, it appears that components can not be tweened on the timeline.  At least not in CS3&#8230; maybe in Flash CS4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kido.do</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-927</link>
		<dc:creator>kido.do</dc:creator>
		<pubDate>Fri, 26 Dec 2008 10:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-927</guid>
		<description>Hi, Smackme

Firstly thanks for this great article. I&#039;ve made it run and it&#039;s really simple just follow your steps above.

But is still got confuse with ComponentShim and it seems not to be simple to implement. Can you explain more about it?

thanks again.</description>
		<content:encoded><![CDATA[<p>Hi, Smackme</p>
<p>Firstly thanks for this great article. I&#8217;ve made it run and it&#8217;s really simple just follow your steps above.</p>
<p>But is still got confuse with ComponentShim and it seems not to be simple to implement. Can you explain more about it?</p>
<p>thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Social Networking</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-925</link>
		<dc:creator>Social Networking</dc:creator>
		<pubDate>Wed, 10 Dec 2008 01:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-925</guid>
		<description>Any chance of you posting up the source .as and .fla file for your test component?  When I try to create a component with the source above in CS4, I get errors about &quot;package&quot; being invalid in ActionScript 2.0 - seems that I must be doing some tiny thing wrong, which is resulting in it trying to compile my source as AS2.

Would be nice if you had the source .fla and .as up to troubleshoot issues like this. Thanks!</description>
		<content:encoded><![CDATA[<p>Any chance of you posting up the source .as and .fla file for your test component?  When I try to create a component with the source above in CS4, I get errors about &#8220;package&#8221; being invalid in ActionScript 2.0 &#8211; seems that I must be doing some tiny thing wrong, which is resulting in it trying to compile my source as AS2.</p>
<p>Would be nice if you had the source .fla and .as up to troubleshoot issues like this. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chetan Sachdev</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-923</link>
		<dc:creator>Chetan Sachdev</dc:creator>
		<pubDate>Tue, 21 Oct 2008 12:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-923</guid>
		<description>@smackme
Sorry, for my late reply. I get it rolling. Do you have any suggestion regarding which class to extend UIComponent, Sprite or MovieClip.

Thank You</description>
		<content:encoded><![CDATA[<p>@smackme<br />
Sorry, for my late reply. I get it rolling. Do you have any suggestion regarding which class to extend UIComponent, Sprite or MovieClip.</p>
<p>Thank You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Passiday</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-922</link>
		<dc:creator>Passiday</dc:creator>
		<pubDate>Sun, 05 Oct 2008 07:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-922</guid>
		<description>Great tutorial, thanks!

Started to play with CS3 Fl components just yesterday. It is interesting that Adobe has fixed the way live preview behaves in develop-time, when the component is rotated: now the w and h values passed to setSize method are correct (NOT the width and height of the rotated bounding box of the component, but the width and height of the component regardless of the rotation).

However, in runtime it&#039;s all the same story, the w an h values are the bad-old-buggy ones. Just try it using your sample component - put it on stage, rotate, inspect the dev-time dimensions, then preview it in runtime. Is it just me, who thinks that the components should be normally rotateable via help of transform tool? Of course, I can put the rotation as a component parameter, but then I am forced to set also the w and h parameters, otherwise scaling it with the helkp of transform tool will mess it all up.</description>
		<content:encoded><![CDATA[<p>Great tutorial, thanks!</p>
<p>Started to play with CS3 Fl components just yesterday. It is interesting that Adobe has fixed the way live preview behaves in develop-time, when the component is rotated: now the w and h values passed to setSize method are correct (NOT the width and height of the rotated bounding box of the component, but the width and height of the component regardless of the rotation).</p>
<p>However, in runtime it&#8217;s all the same story, the w an h values are the bad-old-buggy ones. Just try it using your sample component &#8211; put it on stage, rotate, inspect the dev-time dimensions, then preview it in runtime. Is it just me, who thinks that the components should be normally rotateable via help of transform tool? Of course, I can put the rotation as a component parameter, but then I am forced to set also the w and h parameters, otherwise scaling it with the helkp of transform tool will mess it all up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smackme</title>
		<link>http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-919</link>
		<dc:creator>smackme</dc:creator>
		<pubDate>Mon, 15 Sep 2008 07:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://flexion.wordpress.com/2007/06/27/building-flash-cs3-components/#comment-919</guid>
		<description>Where do the components appear? In the library?</description>
		<content:encoded><![CDATA[<p>Where do the components appear? In the library?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
