<?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: Compiling Flash CS3 compatible SWC&#8217;s with Flex</title>
	<atom:link href="http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/</link>
	<description>technology is good</description>
	<lastBuildDate>Wed, 21 Jan 2009 18:24:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ahmad</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-53723</link>
		<dc:creator>ahmad</dc:creator>
		<pubDate>Sat, 09 Aug 2008 17:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-53723</guid>
		<description>This is definitly of a great benefit, if it works (unfortunatly it doesn&#039;t for me) since one can build a component using the &quot;free&quot; flex sdk, that can be used both for flex/air and the &quot;commercial&quot; Flash CS3.

This seems not to be the case however, as mentioned here (by Adobe too):

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000384.html

read the comments:

&quot;SWCs generated in Flash, especially with the Flex Component Kit for 
Flash CS3 (http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3) 
work in Flex. SWCs made in Flex usually will not work correctly in Flash. Specifically, 
you cannot get the Flex components to work in Flash by packaging them as SWCs, or by 
trying to use the framework.swc that comes with Flex.

So while there is compatibility, it is effectively one way at this time.&quot;</description>
		<content:encoded><![CDATA[<p>This is definitly of a great benefit, if it works (unfortunatly it doesn&#8217;t for me) since one can build a component using the &#8220;free&#8221; flex sdk, that can be used both for flex/air and the &#8220;commercial&#8221; Flash CS3.</p>
<p>This seems not to be the case however, as mentioned here (by Adobe too):</p>
<p><a href="http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000384.html" rel="nofollow">http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000384.html</a></p>
<p>read the comments:</p>
<p>&#8220;SWCs generated in Flash, especially with the Flex Component Kit for<br />
Flash CS3 (<a href="http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3" rel="nofollow">http://labs.adobe.com/wiki/index.php/Flex_Component_Kit_for_Flash_CS3</a>)<br />
work in Flex. SWCs made in Flex usually will not work correctly in Flash. Specifically,<br />
you cannot get the Flex components to work in Flash by packaging them as SWCs, or by<br />
trying to use the framework.swc that comes with Flex.</p>
<p>So while there is compatibility, it is effectively one way at this time.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-53322</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 21 Jul 2008 20:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-53322</guid>
		<description>You saved me a lot of compile time, thanks!</description>
		<content:encoded><![CDATA[<p>You saved me a lot of compile time, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balaji</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-53193</link>
		<dc:creator>Balaji</dc:creator>
		<pubDate>Wed, 16 Jul 2008 04:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-53193</guid>
		<description>I had created one library file in Flex and that swc file is working in
Flex application..
now that component has to work in the Flash CS3,
Let me know how to do that,,
or send me some URL for doing that.
Thanks and regards
Balaji</description>
		<content:encoded><![CDATA[<p>I had created one library file in Flex and that swc file is working in<br />
Flex application..<br />
now that component has to work in the Flash CS3,<br />
Let me know how to do that,,<br />
or send me some URL for doing that.<br />
Thanks and regards<br />
Balaji</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balaji</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-53178</link>
		<dc:creator>Balaji</dc:creator>
		<pubDate>Tue, 15 Jul 2008 15:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-53178</guid>
		<description>Hi Thanks for the post, please let me know how to access the Flex component in Flash CS3

Regards
Balaji</description>
		<content:encoded><![CDATA[<p>Hi Thanks for the post, please let me know how to access the Flex component in Flash CS3</p>
<p>Regards<br />
Balaji</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darin</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-52773</link>
		<dc:creator>darin</dc:creator>
		<pubDate>Wed, 25 Jun 2008 14:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-52773</guid>
		<description>Great info, Tim. It helped a bunch. Thanks again!</description>
		<content:encoded><![CDATA[<p>Great info, Tim. It helped a bunch. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-52678</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 19 Jun 2008 15:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-52678</guid>
		<description>Did you ever get anywhere with the &quot;visual&quot; aspect?

I managed to get automate the whole patching of a Flex SWC to work in CS3 - I&#039;ve gotten LivePreview working too.

But whenever I run from within CS3, any components I dropped in are dropped from the SWF. Strangely, inspectable parameters *and* LivePreview works... all very bizarre.

I should mention. LivePreview works - but the DiplayObject size information is completely lost, and everything drag-drops at 500 x 375.

I&#039;m going to experiment with some very simple visual only classes and see whether with the aid of a hex edit I can find out what is going on. The ABC dumps for library.swf are a little different from CS3 and Flex:

---- Flash
size [Rect -480 -840 1160 800]
frame rate 12
frame count 1
FileAttributes 4b 0%
SetBackgroundColor 3b 0%
undefined 11b 0%
DoABC2 792b 1%

---- Flex
size [Rect 0 0 10000 7500]
frame rate 24
frame count 1
FileAttributes 4b 0%
77 (invalid) 458b 0%
EnableDebugger2 31b 0%
DebugID 16b 0%
ScriptLimits 4b 0%
SetBackgroundColor 3b 0%
ProductInfo 26b 0%
DoABC2 7503b 10%

----------------------------------------

Disappointing so far. Flex exports share ready classes but not shapes. Flash exports share ready shapes and no classes.

Pfft.</description>
		<content:encoded><![CDATA[<p>Did you ever get anywhere with the &#8220;visual&#8221; aspect?</p>
<p>I managed to get automate the whole patching of a Flex SWC to work in CS3 &#8211; I&#8217;ve gotten LivePreview working too.</p>
<p>But whenever I run from within CS3, any components I dropped in are dropped from the SWF. Strangely, inspectable parameters *and* LivePreview works&#8230; all very bizarre.</p>
<p>I should mention. LivePreview works &#8211; but the DiplayObject size information is completely lost, and everything drag-drops at 500 x 375.</p>
<p>I&#8217;m going to experiment with some very simple visual only classes and see whether with the aid of a hex edit I can find out what is going on. The ABC dumps for library.swf are a little different from CS3 and Flex:</p>
<p>&#8212;- Flash<br />
size [Rect -480 -840 1160 800]<br />
frame rate 12<br />
frame count 1<br />
FileAttributes 4b 0%<br />
SetBackgroundColor 3b 0%<br />
undefined 11b 0%<br />
DoABC2 792b 1%</p>
<p>&#8212;- Flex<br />
size [Rect 0 0 10000 7500]<br />
frame rate 24<br />
frame count 1<br />
FileAttributes 4b 0%<br />
77 (invalid) 458b 0%<br />
EnableDebugger2 31b 0%<br />
DebugID 16b 0%<br />
ScriptLimits 4b 0%<br />
SetBackgroundColor 3b 0%<br />
ProductInfo 26b 0%<br />
DoABC2 7503b 10%</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Disappointing so far. Flex exports share ready classes but not shapes. Flash exports share ready shapes and no classes.</p>
<p>Pfft.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-50928</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 22 May 2008 23:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-50928</guid>
		<description>Tim, thanks for the post!  It was very thorough and saved us several hours of headache.  Thanks again!</description>
		<content:encoded><![CDATA[<p>Tim, thanks for the post!  It was very thorough and saved us several hours of headache.  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-50409</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 05 May 2008 01:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-50409</guid>
		<description>Sorry for the lack of replies on my part. I logged into wordpress and realized I wasn&#039;t getting my email notifications for comments. I&#039;ll try to respond to a few things here:

Derek Vadneau
&quot;It isn’t completely clear from your post if you’re creating a component to use in Flash or simply a class that can be used in Flash.&quot;

Derek, I was creating a component to use in Flash. It served as a base class just like UIMovieClip does but I wanted it to show up in the component palette just like UIMovieClip does. I have found out that you can simply point an FLA at a SWC in the classpath and use classes in the SWC, but in my case we were creating a MXP for 3rd party use.

Tink
Going the AS3 project route wasn&#039;t an option. See what I wrote above. I realize I wasn&#039;t very clear in my post regarding my exact situation. My goal was to create a MXP which contained a SWC that I authored in Flex (for the reasons stated above). I&#039;m pretty sure this is how Adobe created the SWC in the Flex Component Kit for Flash.

Cliff Hall
I&#039;d like to look at this, I&#039;ll email you. I would think we could get this to work.

Keith and Rene
Nils said the compiler flag worked for him. I&#039;ll give it a try with the project I originally used this approach for.</description>
		<content:encoded><![CDATA[<p>Sorry for the lack of replies on my part. I logged into wordpress and realized I wasn&#8217;t getting my email notifications for comments. I&#8217;ll try to respond to a few things here:</p>
<p>Derek Vadneau<br />
&#8220;It isn’t completely clear from your post if you’re creating a component to use in Flash or simply a class that can be used in Flash.&#8221;</p>
<p>Derek, I was creating a component to use in Flash. It served as a base class just like UIMovieClip does but I wanted it to show up in the component palette just like UIMovieClip does. I have found out that you can simply point an FLA at a SWC in the classpath and use classes in the SWC, but in my case we were creating a MXP for 3rd party use.</p>
<p>Tink<br />
Going the AS3 project route wasn&#8217;t an option. See what I wrote above. I realize I wasn&#8217;t very clear in my post regarding my exact situation. My goal was to create a MXP which contained a SWC that I authored in Flex (for the reasons stated above). I&#8217;m pretty sure this is how Adobe created the SWC in the Flex Component Kit for Flash.</p>
<p>Cliff Hall<br />
I&#8217;d like to look at this, I&#8217;ll email you. I would think we could get this to work.</p>
<p>Keith and Rene<br />
Nils said the compiler flag worked for him. I&#8217;ll give it a try with the project I originally used this approach for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Lavoie</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-49764</link>
		<dc:creator>Rene Lavoie</dc:creator>
		<pubDate>Tue, 15 Apr 2008 18:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-49764</guid>
		<description>Hi Tim,

Same thing here, I can&#039;t make it work for Flex 3.0. Do you have anything new on that issue?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>Same thing here, I can&#8217;t make it work for Flex 3.0. Do you have anything new on that issue?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Peters</title>
		<link>http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/comment-page-1/#comment-49071</link>
		<dc:creator>Keith Peters</dc:creator>
		<pubDate>Sun, 30 Mar 2008 22:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/#comment-49071</guid>
		<description>Thanks Tim. This works perfectly in 2.01 projects, but I still can&#039;t get it working in Flex 3, even with the compute-digest=false. Did you have any more luck with that?</description>
		<content:encoded><![CDATA[<p>Thanks Tim. This works perfectly in 2.01 projects, but I still can&#8217;t get it working in Flex 3, even with the compute-digest=false. Did you have any more luck with that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
