<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>swc &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/swc/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Thu, 17 Jun 2010 21:55:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>swc &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Flex2 crazyness</title>
		<link>https://blog.sephiroth.it/2006/07/19/flex2-crazyness/</link>
					<comments>https://blog.sephiroth.it/2006/07/19/flex2-crazyness/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Wed, 19 Jul 2006 23:51:37 +0000</pubDate>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[livedocs]]></category>
		<category><![CDATA[swc]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=160</guid>

					<description><![CDATA[After the interesting actionscript.it conference I decided to give more of my free time to Flex2 and expecially to components creation. I must admit that ActionScript 3.0 documentation is probably the best documentation I ever seen about flash, but I can&#8217;t say the same thing about Flex developement. Once I had to look for advanced &#8230; <a href="https://blog.sephiroth.it/2006/07/19/flex2-crazyness/" class="more-link">Continue reading <span class="screen-reader-text">Flex2 crazyness</span></a>]]></description>
										<content:encoded><![CDATA[<p>After the interesting <a href="http://www.actionscript.it" target="_blank">actionscript.it</a> conference I decided to give more of my free time to <a href="http://adobe.com/products/flex" target="_blank"><strong>Flex2</strong></a> and expecially to components creation.<br />
I must admit that <a href="http://livedocs.macromedia.com/flex/2/langref/index.html" target="_blank">ActionScript 3.0 documentation</a> is probably the best documentation I ever seen about flash, but I can&#8217;t say the same thing about Flex developement.<br />
Once I had to look for advanced features of Flex components, advanced compiler options etc.. I began to slam against a wall. The <a href="http://www.adobe.com/go/flex2_components_pdf" target="_blank">developer compoents guide</a> is incomplete and does not cover all the aspects and it has some errors probably due to incorrect revision after the beta program.<br />
So I had to search in the livedocs, but here there are missing links (many links still point to the beta version and they&#8217;ve benn removed) and the informations are spread in completely different pages&#8230;</p>
<p>Anyway, this is my first test with Flex2 components.. I just made a porting of my color picker as2 component.. that&#8217;s because the builtin flex2 picker is too poor.</p>
<p>The problem with the compiled SWC file is that Flex displays also all the other classes used in the component as they are different UI components and I didn&#8217;t find anywhere how to compile with <strong>compc </strong>an swc file which exposes just the UIComponent I want. The documentation says about &#8220;-include-component&#8221; compiler option, but it&#8217;s an error because the compiler does not allow that option!<br />
This is the script I&#8217;m using for compiling it:<br />
<code>compc -source-path="." -namespace http://www.sephiroth.it/2006/mxml mxml-manifest.xml -if assets.swf images\assets.swf -if CPicker.png CPicker.png -include-namespaces http://www.sephiroth.it/2006/mxml -output "C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\libs\sephiroth\CPicker.swc"</code></p>
<p><a href="http://labs.sephiroth.it/flex_colorpicker" target="_blank">http://labs.sephiroth.it/flex_colorpicker/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2006/07/19/flex2-crazyness/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
