<?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: mx.* dependency breaks UIMovieClip</title>
	<atom:link href="http://joshua.almirun.com/tech/ria/flash/mx-dependency-breaks-uimovieclip/feed" rel="self" type="application/rss+xml" />
	<link>http://joshua.almirun.com/tech/ria/flash/mx-dependency-breaks-uimovieclip</link>
	<description>technology, politics, armchair philosophy</description>
	<lastBuildDate>Mon, 12 Sep 2011 14:57:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Beau Brewer</title>
		<link>http://joshua.almirun.com/tech/ria/flash/mx-dependency-breaks-uimovieclip/comment-page-1#comment-2659</link>
		<dc:creator>Beau Brewer</dc:creator>
		<pubDate>Fri, 14 Nov 2008 22:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://joshua.almirun.com/?p=179#comment-2659</guid>
		<description>Joshua,

According to Joeflash, you create another class that extends your CustomClass (which extends UIMovieClip) in Flex. At that point, you can add any other properties or variables you need in that class, such as the ArrayCollection. The only downside is you would still need to map between them from an ArrayCollection to classes that are available in your CustomClass.as.</description>
		<content:encoded><![CDATA[<p>Joshua,</p>
<p>According to Joeflash, you create another class that extends your CustomClass (which extends UIMovieClip) in Flex. At that point, you can add any other properties or variables you need in that class, such as the ArrayCollection. The only downside is you would still need to map between them from an ArrayCollection to classes that are available in your CustomClass.as.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Mostafa</title>
		<link>http://joshua.almirun.com/tech/ria/flash/mx-dependency-breaks-uimovieclip/comment-page-1#comment-1375</link>
		<dc:creator>Joshua Mostafa</dc:creator>
		<pubDate>Sun, 07 Sep 2008 00:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://joshua.almirun.com/?p=179#comment-1375</guid>
		<description>That sounds good - but how do I make my Flash-authored component act as a FlexCustomClass instance?</description>
		<content:encoded><![CDATA[<p>That sounds good &#8211; but how do I make my Flash-authored component act as a FlexCustomClass instance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joeflash</title>
		<link>http://joshua.almirun.com/tech/ria/flash/mx-dependency-breaks-uimovieclip/comment-page-1#comment-1357</link>
		<dc:creator>Joeflash</dc:creator>
		<pubDate>Sat, 06 Sep 2008 04:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://joshua.almirun.com/?p=179#comment-1357</guid>
		<description>The reason for this is that the Flex Component Kit only contains the mx.flash.* package, which contain no direct  dependencies to the Flex framework beyond a few interfaces in this package. So ArrayCollections don&#039;t work. And databinding metadata is from the Flex compiler. So as a rule, don&#039;t use anything in &#039;CustomClass extends UIMovieClip&#039; that is not in mx.flash.* or the AS3/Flash API.

The solution is easy enough.

If you have a CustomClass asset in the FLA library which extends UIMovieClip in CustomClass.as, make sure it does not contain any flex-specific behaviour. In Flex, create a subclass of CustomClass as your final component, such as &#039;FlexCustomClass extends CustomClass&#039;, and add your Flex-specific behaviour in that class. FlexCustomClass will be compiled by the Flex compiler and thus have access to the Flex SDK.</description>
		<content:encoded><![CDATA[<p>The reason for this is that the Flex Component Kit only contains the mx.flash.* package, which contain no direct  dependencies to the Flex framework beyond a few interfaces in this package. So ArrayCollections don&#8217;t work. And databinding metadata is from the Flex compiler. So as a rule, don&#8217;t use anything in &#8216;CustomClass extends UIMovieClip&#8217; that is not in mx.flash.* or the AS3/Flash API.</p>
<p>The solution is easy enough.</p>
<p>If you have a CustomClass asset in the FLA library which extends UIMovieClip in CustomClass.as, make sure it does not contain any flex-specific behaviour. In Flex, create a subclass of CustomClass as your final component, such as &#8216;FlexCustomClass extends CustomClass&#8217;, and add your Flex-specific behaviour in that class. FlexCustomClass will be compiled by the Flex compiler and thus have access to the Flex SDK.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

