<?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>IT妖怪</title>
	<atom:link href="http://blog.ityao.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ityao.com</link>
	<description>热爱生活，热爱程序</description>
	<lastBuildDate>Wed, 04 Aug 2010 07:51:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>[转]FlashBuilder中使用fl组件</title>
		<link>http://blog.ityao.com/archives/765</link>
		<comments>http://blog.ityao.com/archives/765#comments</comments>
		<pubDate>Wed, 04 Aug 2010 04:04:18 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=765</guid>
		<description><![CDATA[意思就是：用Flash CS创建一个flash，将需要的fl组件拖进舞台，然后导出swc文件 在FlashBuilder中引入该swc，这时就能在代码中直接new这个fl组件了 How to Use Flash CS&#8217;s Components in Flex Builder To generate the .swc file in Flash CS3, we follow these steps: 1) Make a new Flash CS3 ActionScript 3.0 .fla file. 2) Drag the desired component(s) to the Library. In this example, we&#8217;ll drag the TextArea component to the Library. 3) Choose [...]]]></description>
			<content:encoded><![CDATA[<p>意思就是：用Flash CS创建一个flash，将需要的fl组件拖进舞台，然后导出swc文件</p>
<p>在FlashBuilder中引入该swc，这时就能在代码中直接new这个fl组件了</p>
<p>How to Use Flash CS&#8217;s  Components in Flex Builder</p>
<p>To generate the .swc file in Flash CS3, we follow these steps:</p>
<p>1) Make a new Flash CS3 ActionScript 3.0 .fla file.<br />
2) Drag the desired component(s) to the Library. In this example, we&#8217;ll drag the TextArea component to the Library.<br />
3) Choose File &gt; Export &gt; Export Movie.<br />
4) For File name, enter v3components.swf. (We don&#8217;t even want the generated .swf, but there&#8217;s no other way to get the .swc to compile.)<br />
5) Select a folder in which to save the .swf file.<br />
6) Click Save.<br />
7) In the Export Flash Player dialog, check Export SWC.<br />
 <img src='http://blog.ityao.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Click OK.</p>
<p>The preceding steps generate two files, cs3 components.swf and v3components.swc, both of which are placed in the folder selected in Step 5.</p>
<p>Now let&#8217;s use cs3 components.swc in a Flex Builder project. Follow these steps:</p>
<p>1) In Flex Builder, select File &gt; New &gt; ActionScript Project.<br />
2) For Project name, enter &#8220;V3Test.as&#8221;.<br />
3) Click Next.<br />
4) For Main source folder, enter &#8220;src&#8221;.<br />
5) For Main application file, enter &#8220;V3Test.as&#8221;.<br />
6) On the Library path tab, click Add SWC.<br />
7) Browse to the v3components.swc file from the preceding procedure.<br />
 <img src='http://blog.ityao.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Click Finish.<br />
9) Update the code in cs Test.as so it looks like this:</p>
<pre class="brush: plain;">
package {
  import flash.display.Sprite;
  import fl.controls.TextArea;
  public class V3Test extends Sprite {
    public function V3Test() {
      var t:TextArea = new TextArea();
      t.text = &quot;You're not cookin'&quot;;
      addChild(t);
    }
  }
</pre>
<p>}<br />
10) Run the project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/765/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3在本地选择图片并预览(仅限FlashPlayer10+)</title>
		<link>http://blog.ityao.com/archives/761</link>
		<comments>http://blog.ityao.com/archives/761#comments</comments>
		<pubDate>Tue, 03 Aug 2010 09:50:41 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=761</guid>
		<description><![CDATA[(仅限FlashPlayer10+) &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;s:Application xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34; xmlns:mx=&#34;library://ns.adobe.com/flex/mx&#34; minWidth=&#34;955&#34; minHeight=&#34;600&#34; creationComplete=&#34;application1_creationCompleteHandler(event)&#34;&#62; &#60;fx:Script&#62; &#60;![CDATA[ import mx.events.FlexEvent; private var file:FileReference; private var loader:Loader; protected function button1_clickHandler(event:MouseEvent):void { file = new FileReference(); file.addEventListener(Event.SELECT,file_selectHandler); file.browse ([new FileFilter(&#34;Images(*.jpg;*.jpeg;*.png;*.gif)&#34;,&#34;*.jpg;*.jpeg;*.png;*.gif&#34;)]); } protected function file_selectHandler(event:Event):void{ file.removeEventListener(Event.SELECT,file_selectHandler); file.addEventListener(Event.COMPLETE,file_completeHandler); file.load(); } protected function file_completeHandler(event:Event):void{ file.removeEventListener(Event.COMPLETE,file_completeHandler); loader.loadBytes(file.data); } protected function loaderCompleteHandler(event:Event):void{ var $bmd:BitmapData = new BitmapData(loader.width,loader.height,true,0x00FFFFFF); [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">(仅限FlashPlayer10+)</span></p>
<pre class="brush: plain;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
			   xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;
			   xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot; minWidth=&quot;955&quot; minHeight=&quot;600&quot;
			    creationComplete=&quot;application1_creationCompleteHandler(event)&quot;&gt;

	&lt;fx:Script&gt;
		&lt;![CDATA[
			import mx.events.FlexEvent;
			private var file:FileReference;
			private var loader:Loader;
			protected function button1_clickHandler(event:MouseEvent):void
			{
				file = new FileReference();
				file.addEventListener(Event.SELECT,file_selectHandler);
				file.browse ([new FileFilter(&quot;Images(*.jpg;*.jpeg;*.png;*.gif)&quot;,&quot;*.jpg;*.jpeg;*.png;*.gif&quot;)]);
			}

			protected function file_selectHandler(event:Event):void{
				file.removeEventListener(Event.SELECT,file_selectHandler);
				file.addEventListener(Event.COMPLETE,file_completeHandler);
				file.load();
			}

			protected function file_completeHandler(event:Event):void{
				file.removeEventListener(Event.COMPLETE,file_completeHandler);
				loader.loadBytes(file.data);
			}
			protected function loaderCompleteHandler(event:Event):void{
				var $bmd:BitmapData = new BitmapData(loader.width,loader.height,true,0x00FFFFFF);
				$bmd.draw(loader.content);
				this.preview.source = $bmd;
				this.preview.width = 40;
				this.preview.height = 40;
			}

			protected function application1_creationCompleteHandler(event:FlexEvent):void
			{
				loader = new Loader();
				loader.contentLoaderInfo.addEventListener(Event.COMPLETE,loaderCompleteHandler);
				this.swf.addChild(loader);
			}

		]]&gt;
	&lt;/fx:Script&gt;
	&lt;s:layout&gt;
		&lt;s:VerticalLayout/&gt;
	&lt;/s:layout&gt;
	&lt;s:Button click=&quot;button1_clickHandler(event)&quot; label=&quot;Select Image&quot;/&gt;
	&lt;s:HGroup&gt;
		&lt;s:BitmapImage id=&quot;preview&quot;/&gt;
		&lt;mx:SWFLoader id=&quot;swf&quot;/&gt;
	&lt;/s:HGroup&gt;
&lt;/s:Application&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/761/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用RSL发布flex项目需要的build.xml要诀详解</title>
		<link>http://blog.ityao.com/archives/751</link>
		<comments>http://blog.ityao.com/archives/751#comments</comments>
		<pubDate>Fri, 09 Jul 2010 13:04:16 +0000</pubDate>
		<dc:creator>Silver</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[VerifyError]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=751</guid>
		<description><![CDATA[遇到了一个ANT编译后不能正常发布使用的问题，于是花了两天（人比较呆）去研究，研究得这么辛苦，当然要把心得写下来，对于ADOBE貌似详细，但语蔫不详的文档作风很是失望! 在此感谢此文作者：http://www.kahunaburger.com/2009/04/08/flash-player-verifyerror-error-1014-with-rsls/ 给了我解决问题的思路 要是用flash build 4.1自带的flex 4.1的sdk的flex-config.xml记得更新里面的默认编译FP版本为10.1,否则还是10.0的 build.properties文件 #Flex SDK 路径 FLEX_HOME=G:\\flexsdk #根目录 APP_ROOT=G:\\riasource\&#92;&#48;.trunk #ANT 安装目录 ANT_HOME=D:\\tools\\apache-ant-1.8.0 #本地部署目录(wamp/www) DEPLOY_DIR=E:/wamp/www/ihaveu2 build.xml文件 &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;project name=&#34;Task Build Main Script&#34; default=&#34;build&#34; basedir=&#34;.&#34;&#62; &#60;!-- 加载全局properties --&#62; &#60;property file=&#34;../build.properties&#34; /&#62; &#60;!-- 源文件路径 --&#62; &#60;property name=&#34;SRC_DIR&#34; value=&#34;${basedir}/srcs&#34; /&#62; &#60;!-- assets路径 --&#62; &#60;property name=&#34;ASSETS_DIR&#34; value=&#34;${basedir}/assets&#34; /&#62; &#60;!-- config路径--&#62; &#60;property name=&#34;CONFIG_DIR&#34; value=&#34;${APP_ROOT}/main/config/locale&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>遇到了一个ANT编译后不能正常发布使用的问题，于是花了两天（人比较呆）去研究，研究得这么辛苦，当然要把心得写下来，对于ADOBE貌似详细，但语蔫不详的文档作风很是失望!<br />
在此感谢此文作者：http://www.kahunaburger.com/2009/04/08/flash-player-verifyerror-error-1014-with-rsls/<br />
给了我解决问题的思路</p>
<p>要是用flash build 4.1自带的flex 4.1的sdk的flex-config.xml记得更新里面的默认编译FP版本为10.1,否则还是10.0的</p>
<p>build.properties文件</p>
<pre class="brush: plain;">
#Flex SDK 路径
FLEX_HOME=G:\\flexsdk
#根目录
APP_ROOT=G:\\riasource\&#92;&#48;.trunk
#ANT 安装目录
ANT_HOME=D:\\tools\\apache-ant-1.8.0
#本地部署目录(wamp/www)
DEPLOY_DIR=E:/wamp/www/ihaveu2
</pre>
<p>build.xml文件</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;project name=&quot;Task Build Main Script&quot; default=&quot;build&quot; basedir=&quot;.&quot;&gt;
	&lt;!-- 加载全局properties --&gt;
	&lt;property file=&quot;../build.properties&quot; /&gt;
	&lt;!-- 源文件路径 --&gt;
	&lt;property name=&quot;SRC_DIR&quot; value=&quot;${basedir}/srcs&quot; /&gt;
	&lt;!-- assets路径 --&gt;
	&lt;property name=&quot;ASSETS_DIR&quot; value=&quot;${basedir}/assets&quot; /&gt;
	&lt;!-- config路径--&gt;
	&lt;property name=&quot;CONFIG_DIR&quot; value=&quot;${APP_ROOT}/main/config/locale&quot; /&gt;
	&lt;!-- 引入flexTasks.jar --&gt;
	&lt;taskdef resource=&quot;flexTasks.tasks&quot; classpath=&quot;${FLEX_HOME}/ant/lib/flexTasks.jar&quot; /&gt;
	&lt;taskdef resource=&quot;net/sf/antcontrib/antlib.xml&quot;&gt;
		&lt;classpath&gt;
			&lt;pathelement location=&quot;${ANT_HOME}/lib/ant-contrib-1.0b3&quot; /&gt;
		&lt;/classpath&gt;
	&lt;/taskdef&gt;

	&lt;!-- 优化和生成项目需要用到的RSL --&gt;
	&lt;target name=&quot;createRSL&quot;&gt;
		&lt;macrodef name=&quot;optimize-rsl&quot;&gt;
			&lt;attribute name=&quot;rsl-dir&quot; /&gt;
			&lt;attribute name=&quot;swc-dir&quot; /&gt;
			&lt;attribute name=&quot;swc-name&quot; /&gt;
			&lt;sequential&gt;
				&lt;unzip src=&quot;@{swc-dir}/@{swc-name}.swc&quot; dest=&quot;@{rsl-dir}&quot;&gt;
					&lt;patternset&gt;
						&lt;include name=&quot;library.swf&quot; /&gt;
					&lt;/patternset&gt;
				&lt;/unzip&gt;
				&lt;java jar=&quot;${FLEX_HOME}/lib/optimizer.jar&quot; fork=&quot;true&quot; failonerror=&quot;true&quot;&gt;
					&lt;jvmarg line=&quot;-ea -DAS3 -DAVMPLUS -Dflexlib=${FLEX_HOME}/frameworks -Xms32m -Xmx384m -Dsun.io.useCanonCaches=false&quot; /&gt;
					&lt;arg line=&quot;'@{rsl-dir}/library.swf' --output '@{rsl-dir}/@{swc-name}.swf' --keep-as3-metadata='Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient,RemoteClass' &quot; /&gt;
				&lt;/java&gt;
				&lt;delete file=&quot;@{rsl-dir}/library.swf&quot; /&gt;
				&lt;java jar=&quot;${FLEX_HOME}/lib/digest.jar&quot; fork=&quot;true&quot; failonerror=&quot;true&quot;&gt;
					&lt;jvmarg line=&quot;-ea -DAS3 -DAVMPLUS -Xms32m -Xmx384m -Dsun.io.useCanonCaches=false&quot; /&gt;
					&lt;arg line=&quot;--digest.rsl-file  @{rsl-dir}/@{swc-name}.swf --digest.swc-path  @{swc-dir}/@{swc-name}.swc&quot; /&gt;
				&lt;/java&gt;
			&lt;/sequential&gt;
		&lt;/macrodef&gt;		

		&lt;!--把项目依赖的swc变成我们需要的RSL文件--&gt;
		&lt;optimize-rsl rsl-dir=&quot;${DEPLOY_DIR}&quot; swc-dir=&quot;${APP_ROOT}/library/bins&quot; swc-name=&quot;ihaveuLib_magazine&quot; /&gt;
		&lt;optimize-rsl rsl-dir=&quot;${DEPLOY_DIR}&quot; swc-dir=&quot;${APP_ROOT}/library/bins&quot; swc-name=&quot;ihaveuLib_main&quot; /&gt;
		&lt;optimize-rsl rsl-dir=&quot;${DEPLOY_DIR}&quot; swc-dir=&quot;${APP_ROOT}/referenceLibs/bins&quot; swc-name=&quot;PureMVC_AS3_MultiCore_1_0_5&quot; /&gt;
		&lt;optimize-rsl rsl-dir=&quot;${DEPLOY_DIR}&quot; swc-dir=&quot;${APP_ROOT}/referenceLibs/bins&quot; swc-name=&quot;TweenLite&quot; /&gt;
	&lt;/target&gt;

	&lt;!-- 构建web项目  --&gt;
	&lt;target name=&quot;build&quot; depends=&quot;createRSL&quot; &gt;
		&lt;exec executable=&quot;svnversion&quot; outputproperty=&quot;revisionVersion&quot; /&gt;
		&lt;copy todir=&quot;${DEPLOY_DIR}&quot;&gt;
			&lt;fileset dir=&quot;${SRC_DIR}/web_runtime&quot;&gt;
				&lt;include name=&quot;**/**&quot; /&gt;
			&lt;/fileset&gt;
		&lt;/copy&gt;

		&lt;copy todir=&quot;${DEPLOY_DIR}/assets&quot;&gt;
			&lt;fileset dir=&quot;${ASSETS_DIR}/web_runtime&quot;&gt;
				&lt;include name=&quot;**/**&quot; /&gt;
			&lt;/fileset&gt;
			&lt;!--
			&lt;fileset dir=&quot;${ASSETS_DIR}/air_runtime&quot;&gt;
				&lt;include name=&quot;**/**&quot; /&gt;
			&lt;/fileset&gt;
			--&gt;
		&lt;/copy&gt;

		&lt;mxmlc file=&quot;${DEPLOY_DIR}/index.mxml&quot;&gt;
			&lt;!-- 方便可以进行远程debug --&gt;
			&lt;debug&gt;true&lt;/debug&gt;
			&lt;!-- 项目需要用到的locale名字，其中在SDK 4.1 里面framework locale目录zh_tw已经改成zh_TW,但千万别信，使用的时候还是要写成zh_tw --&gt;
			&lt;locale&gt;en_US&lt;/locale&gt;
			&lt;locale&gt;zh_CN&lt;/locale&gt;
			&lt;locale&gt;zh_tw&lt;/locale&gt;
			&lt;!--项目的多语言及配置文件目录--&gt;
			&lt;source-path path-element=&quot;${CONFIG_DIR}/en_US&quot; /&gt;
			&lt;source-path path-element=&quot;${CONFIG_DIR}/zh_CN&quot; /&gt;
			&lt;source-path path-element=&quot;${CONFIG_DIR}/zh_tw&quot; /&gt;
			&lt;!-- 依赖的flex 4.1框架的RSL, 注意：顺序不能乱！若不写这一段则会报错：VerifyError: Error #1014: 无法找到类 。估计是由于下面自己定义的RSL依赖次序被优先了 --&gt;
			&lt;runtime-shared-library-path path-element=&quot;${FLEX_HOME}/frameworks/libs/framework.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/framework_4.1.0.16076.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;framework_4.1.0.16076.swz&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${FLEX_HOME}/frameworks/libs/textLayout.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;textLayout_1.1.0.604.swz&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;libs/osmf.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_flex.4.0.0.13495.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;osmf_flex.4.0.0.13495.swz&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${FLEX_HOME}/frameworks/libs/spark.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/spark_4.1.0.16076.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;spark_4.1.0.16076.swz&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${FLEX_HOME}/frameworks/libs/sparkskins.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/sparkskins_4.1.0.16076.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;sparkskins_4.1.0.16076.swz&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${FLEX_HOME}/frameworks/libs/rpc.swc&quot;&gt;
				&lt;url rsl-url=&quot;http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/rpc_4.1.0.16076.swz&quot; policy-file-url=&quot;http://fpdownload.adobe.com/pub/swz/crossdomain.xml&quot;/&gt;
				&lt;url rsl-url=&quot;rpc_4.1.0.16076.swz&quot; /&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;!-- 依赖的第三方RSL, 如果有依赖关系，则应该按照依赖次序 进行定义--&gt;
			&lt;runtime-shared-library-path path-element=&quot;${APP_ROOT}/referenceLibs/bins/PureMVC_AS3_MultiCore_1_0_5.swc&quot;&gt;
				&lt;url rsl-url=&quot;PureMVC_AS3_MultiCore_1_0_5.swf&quot; policy-file-url=&quot;&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${APP_ROOT}/referenceLibs/bins/TweenLite.swc&quot;&gt;
				&lt;url rsl-url=&quot;TweenLite.swf&quot; policy-file-url=&quot;&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;		

			&lt;runtime-shared-library-path path-element=&quot;${APP_ROOT}/library/bins/ihaveuLib_main.swc&quot;&gt;
				&lt;url rsl-url=&quot;ihaveuLib_main.swf&quot; policy-file-url=&quot;&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;runtime-shared-library-path path-element=&quot;${APP_ROOT}/library/bins/ihaveuLib_magazine.swc&quot;&gt;
				&lt;url rsl-url=&quot;ihaveuLib_magazine.swf&quot; policy-file-url=&quot;&quot;/&gt;
			&lt;/runtime-shared-library-path&gt;
			&lt;!-- 指定哪些包是不需要编译进输出的swf, 不写这段会把框架打包进index.swf里面去 --&gt;
			&lt;external-library-path dir=&quot;${FLEX_HOME}/frameworks/libs&quot; append=&quot;true&quot;&gt;
				&lt;include name=&quot;*.swc&quot; /&gt;
				&lt;include name=&quot;air/*.swc&quot; /&gt;
			&lt;/external-library-path&gt;
		&lt;/mxmlc&gt;
	&lt;/target&gt;
&lt;/project&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/751/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4.1以及Flash Builder 4.0.1更新</title>
		<link>http://blog.ityao.com/archives/749</link>
		<comments>http://blog.ityao.com/archives/749#comments</comments>
		<pubDate>Fri, 02 Jul 2010 01:37:52 +0000</pubDate>
		<dc:creator>Silver</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=749</guid>
		<description><![CDATA[针对Flash Player 10.1的开发工具更新，快更新吧！ Adobe has publicly pushed the Flex 4.1/Flash Builder 4.0.1 update, which includes: The new Layout Mirroring feature for repurposing Flex UIs for deployment in right-to-left locales Native support for Flash Player 10.1 and AIR 2 in the Flex SDK Native support in Flash Builder 4.0.1 for building apps targeting SDK 4.1, AIR [...]]]></description>
			<content:encoded><![CDATA[<p>针对Flash Player 10.1的开发工具更新，快更新吧！</p>
<p>Adobe has publicly pushed the Flex 4.1/Flash Builder 4.0.1 update, which includes:</p>
<p>The new Layout Mirroring feature for repurposing Flex UIs for deployment in right-to-left locales<br />
Native support for Flash Player 10.1 and AIR 2 in the Flex SDK<br />
Native support in Flash Builder 4.0.1 for building apps targeting SDK 4.1, AIR 2 or FP 10.1<br />
Many critical bugfixes and enhancement requests for both Flex SDK and Flash Builder </p>
<p>Adobe has also officially debuted the next release of the Flex SDK, code-named Hero. We share with the world our amazing story of a single unified Flex framework that can be used to build applications for the web, desktop and mobile devices. With today’s debut, we released many new documents and feature specifications, including:</p>
<p>Inaugural launch of the new Hero opensource Flex page<br />
Posting of several new Hero desktop and Hero mobile feature specifications<br />
Updated the labs.adobe.com Flex Mobile content to announce our intent to add mobile development capabilities directly into the core Flex framework, including<br />
o Updating the Flex and Mobile Whitepaper<br />
o Updating the Flex and Mobile FAQ</p>
<p>Please help us spread the word regarding these announcements. You can find more details in the following two blog postings:<br />
Flex SDK 4 and Flash Builder 4 Updates Now Available http://blogs.adobe.com/flex/archives/2010/06/flex_sdk_4_and_flash_builder_4.html<br />
Introducing….Hero! </p>
<p>http://blogs.adobe.com/flex/archives/2010/06/introducinghero.html</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/749/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>深圳游戏公司招聘AS3开发人员</title>
		<link>http://blog.ityao.com/archives/743</link>
		<comments>http://blog.ityao.com/archives/743#comments</comments>
		<pubDate>Sat, 26 Jun 2010 03:39:54 +0000</pubDate>
		<dc:creator>William</dc:creator>
				<category><![CDATA[小妖猎头]]></category>
		<category><![CDATA[深圳 webgame AS3 报出]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/archives/743</guid>
		<description><![CDATA[深圳新飞扬数码技术有限公司 2006年成立至今，“新飞扬”凝聚了一支年轻、稳定且富有创新意识，并在互联网数字娱乐行业拥有顶尖先进技术、国际化运营理念、及丰富市场经验的专业团队。 公司网址：www.sunfairs.com.cn 因公司发展需要现招聘as3开发工程师 任职要求: 1. 大专及以上学历；具备高度的责任心及团队精神，愿意接受挑战性的工作，能够及时高效完成任务； 2. 精通Action Script 3.0或Flex，熟悉OOP开发模式，懂PureMVC者优先; 3. 对Flash RIA开发感兴趣，2年以上OO编码经验、2年以上AS3编码经验，基础扎实学习能力强者亦可。有相关项目经验者优先； 4. 熟悉XML语言，熟悉Socket等各种通信方式，熟悉Flash与外部通信技术； 5. 有规范的编程风格和良好文档习惯,具有较强理解沟通能力、自学能力，项目分析经验; 6. 具有创新精神、能快速的融入团队、能承受较大的工作压力。 7. 对开发大型多人在线实时互动虚拟游戏有强烈的兴趣。 职位描述: 1.负责Flash（Actionscript）游戏客户端应用逻辑的编写； 2.能够和后台工程师配合，实现Flash和服务程序的数据交换功能； 3.与测试人员配合，了解并解决产品中存在的问题。 待遇: 3K-8K（可面议） 联系方式： 电话：0755-82824704 QQ:228171441 邮箱：hr@sunfairs.com.cn；showping@yeah.net]]></description>
			<content:encoded><![CDATA[<p>深圳新飞扬数码技术有限公司<br />
2006年成立至今，“新飞扬”凝聚了一支年轻、稳定且富有创新意识，并在互联网数字娱乐行业拥有顶尖先进技术、国际化运营理念、及丰富市场经验的专业团队。<br />
公司网址：www.sunfairs.com.cn</p>
<p>因公司发展需要现招聘as3开发工程师</p>
<p>任职要求:<br />
1. 大专及以上学历；具备高度的责任心及团队精神，愿意接受挑战性的工作，能够及时高效完成任务；<br />
2. 精通Action Script 3.0或Flex，熟悉OOP开发模式，懂PureMVC者优先;<br />
3. 对Flash RIA开发感兴趣，2年以上OO编码经验、2年以上AS3编码经验，基础扎实学习能力强者亦可。有相关项目经验者优先；<br />
4. 熟悉XML语言，熟悉Socket等各种通信方式，熟悉Flash与外部通信技术；<br />
5. 有规范的编程风格和良好文档习惯,具有较强理解沟通能力、自学能力，项目分析经验;<br />
6. 具有创新精神、能快速的融入团队、能承受较大的工作压力。<br />
7. 对开发大型多人在线实时互动虚拟游戏有强烈的兴趣。</p>
<p>职位描述:<br />
1.负责Flash（Actionscript）游戏客户端应用逻辑的编写；<br />
2.能够和后台工程师配合，实现Flash和服务程序的数据交换功能；<br />
3.与测试人员配合，了解并解决产品中存在的问题。</p>
<p>待遇: 3K-8K（可面议）<br />
联系方式：<br />
电话：0755-82824704<br />
QQ:228171441<br />
邮箱：hr@sunfairs.com.cn；showping@yeah.net</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/743/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>外部调用字体文件实现字体嵌入</title>
		<link>http://blog.ityao.com/archives/739</link>
		<comments>http://blog.ityao.com/archives/739#comments</comments>
		<pubDate>Fri, 11 Jun 2010 11:15:06 +0000</pubDate>
		<dc:creator>syw00syw</dc:creator>
				<category><![CDATA[杂七杂八]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=739</guid>
		<description><![CDATA[为了能在客户浏览器上准确显示设计者设计使用的字体，需要将字体文件嵌入到程序中，实现起来分为 字体文件编译进swf 和 外部调用字体文件两种。 编译进swf中会导致swf文件体积骤然增大，让swf文件调用外部的字体文件则更加适用（此时的字体文件为swf格式的文件） 步骤一    创建swf格式的字体文件。创建外部css文件，定义嵌入字体@font-face{ src:url(&#8220;&#8230;./xxx/xxx/MSYHBD.TTF&#8221;)   font-family:XXX   }; 在管理器窗口右键点击该css文件选择“将css编译为SWF”，执行编译，bindebug中会生成与该css同名的swf文件，此乃包含MSYHBD字体的文件，供其他程序调用。 步骤二    注意先将之前“将css编译为SWF”设置的勾选去掉，在程序代码中使用方法 styleManager.loadStyleDeclarations(&#8220;&#8230;./xxx/xxx/XXX.swf&#8221;)来调用;   编译运行。 END]]></description>
			<content:encoded><![CDATA[<p>为了能在客户浏览器上准确显示设计者设计使用的字体，需要将字体文件嵌入到程序中，实现起来分为 字体文件编译进swf 和 外部调用字体文件两种。</p>
<p>编译进swf中会导致swf文件体积骤然增大，让swf文件调用外部的字体文件则更加适用（此时的字体文件为swf格式的文件）</p>
<p>步骤一    创建swf格式的字体文件。创建外部css文件，定义嵌入字体@font-face{ src:url(&#8220;&#8230;./xxx/xxx/MSYHBD.TTF&#8221;)   font-family:XXX   };</p>
<p>在管理器窗口右键点击该css文件选择“将css编译为SWF”，执行编译，bindebug中会生成与该css同名的swf文件，此乃包含MSYHBD字体的文件，供其他程序调用。</p>
<p>步骤二    注意先将之前“将css编译为SWF”设置的勾选去掉，在程序代码中使用方法 styleManager.loadStyleDeclarations(&#8220;&#8230;./xxx/xxx/XXX.swf&#8221;)来调用;   编译运行。</p>
<p>END</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/739/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Player 10.1 and Adobe AIR 2 正式发布</title>
		<link>http://blog.ityao.com/archives/737</link>
		<comments>http://blog.ityao.com/archives/737#comments</comments>
		<pubDate>Fri, 11 Jun 2010 01:55:41 +0000</pubDate>
		<dc:creator>Silver</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=737</guid>
		<description><![CDATA[Rachel Luxemburg wrote: Hi All! Adobe Flash Player 10.1 and Adobe AIR 2 are now available for Windows, Mac and Linux operating systems. To download the runtimes, go to http://get.adobe.com/flashplayer/ for Flash Player and http://get.adobe.com/air/ for AIR 2. More info is posted on the AIR team blog, http://blogs.adobe.com/air/ and the Flash Player Team blog http://blogs.adobe.com/flashplayer/. [...]]]></description>
			<content:encoded><![CDATA[<p>Rachel Luxemburg wrote:</p>
<p>Hi All!</p>
<p>Adobe Flash Player 10.1 and Adobe AIR 2 are now available for Windows, Mac and Linux operating systems. To download the runtimes, go to http://get.adobe.com/flashplayer/ for Flash Player and<br />
http://get.adobe.com/air/ for AIR 2.</p>
<p>More info is posted on the AIR team blog, http://blogs.adobe.com/air/ and the Flash Player Team blog http://blogs.adobe.com/flashplayer/.</p>
<p>We’re really excited that we’re finally &#8220;over the finish line&#8221; with these releases, there’s a lot of new features &#038; some real performance improvements. </p>
<p>Please help spread the word, and enjoy!</p>
<p>Rachel </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/737/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsley AIR发布问题解决方法</title>
		<link>http://blog.ityao.com/archives/731</link>
		<comments>http://blog.ityao.com/archives/731#comments</comments>
		<pubDate>Sat, 05 Jun 2010 03:51:30 +0000</pubDate>
		<dc:creator>Silver</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[parsley]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=731</guid>
		<description><![CDATA[之前在项目中使用Parsley做为框架，在把依赖的swc用RSL进行发布AIR的情况下，会Inject不了， 后来发现是AIR在IDE里面进行release发布的时候应该是没有把相关的metadata实现编译进去，于是就查了一下，发现不使用IDE的重新编译，使用命令行手工打包可以解决这个问题， 命令行如下： adt -package -storetype pkcs12 -keystore certificat e.p12 -storepass 123456 TestAirMetadata.air bin-debug/TestAirMetadata-app.xml -C bin-debug .]]></description>
			<content:encoded><![CDATA[<p>之前在项目中使用Parsley做为框架，在把依赖的swc用RSL进行发布AIR的情况下，会Inject不了，<br />
后来发现是AIR在IDE里面进行release发布的时候应该是没有把相关的metadata实现编译进去，于是就查了一下，发现不使用IDE的重新编译，使用命令行手工打包可以解决这个问题，<br />
命令行如下：</p>
<pre class="brush: plain;">
adt -package -storetype pkcs12 -keystore certificat e.p12 -storepass 123456 TestAirMetadata.air bin-debug/TestAirMetadata-app.xml -C bin-debug .
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/731/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[娱乐ZT] 菊花文转换</title>
		<link>http://blog.ityao.com/archives/725</link>
		<comments>http://blog.ityao.com/archives/725#comments</comments>
		<pubDate>Fri, 04 Jun 2010 02:14:14 +0000</pubDate>
		<dc:creator>Daniel Yang</dc:creator>
				<category><![CDATA[IT八卦]]></category>
		<category><![CDATA[杂七杂八]]></category>
		<category><![CDATA[水产]]></category>
		<category><![CDATA[菊花问]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=725</guid>
		<description><![CDATA[近来由于敏感词的原因, 大家开始用菊花文了. 看起来很有趣,但是实际上很使用的. 原理其实就是按照简单的规则转换了字符而已. 上代码: function bao_ju(inStr) { var code = String.fromCharCode(1161); var outStr = ''; for(var i=0,l=inStr.length; i outStr += inStr.charAt(i) + code; } return outStr; } 代码源于@darasion]]></description>
			<content:encoded><![CDATA[<p>近来由于敏感词的原因, 大家开始用菊花文了. 看起来很有趣,但是实际上很使用的.<br />
原理其实就是按照简单的规则转换了字符而已.<br />
<img src="http://blog.ityao.com/wp-content/uploads/2010/06/Screen-shot-2010-06-04-at-10.12.55-AM.png" alt="" title="Screen shot 2010-06-04 at 10.12.55 AM" width="432" height="257" class="alignnone size-full wp-image-728" /><br />
<span id="more-725"></span><br />
上代码:</p>
<pre class="brush: jscript;">
function bao_ju(inStr) {
var code = String.fromCharCode(1161);
var outStr = '';
for(var i=0,l=inStr.length; i
outStr += inStr.charAt(i) + code;
}
return outStr;
}
</pre>
<p>代码源于@darasion</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/725/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash在IE全屏时 使用Deeplinking修改网址会退出全屏的bug解决方案</title>
		<link>http://blog.ityao.com/archives/722</link>
		<comments>http://blog.ityao.com/archives/722#comments</comments>
		<pubDate>Tue, 01 Jun 2010 12:44:14 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[ADOBE RIA]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://blog.ityao.com/?p=722</guid>
		<description><![CDATA[BUG描述： IE浏览器下，Flash全屏时 一旦使用deeplinking修改网址参数，就会导致Flash退出全屏 解决方案： 在全屏时不再修改deeplinking， 而当退出全屏时，使用最后的deeplinking 可以侦听stage类的事件FullScreenEvent. FULL_SCREEN 在任何被添加到了舞台的DisplayObject对象内部,都可以这样写： this.stage.addEventListener(FullScreenEvent.FULL_SCREEN, stage_fullScreenHandler); //侦听全屏变化的事件 private function stage_fullScreenHandler(event:FullScreenEvent):void{ //event.fullScreen为false的时候，是退出全屏，true是进入全屏 if(!event.fullScreen){ //修改deeplinking }]]></description>
			<content:encoded><![CDATA[<p><strong>BUG描述：</strong></p>
<p>IE浏览器下，Flash全屏时  一旦使用deeplinking修改网址参数，就会导致Flash退出全屏</p>
<p><strong> 解决方案： </strong></p>
<p>在全屏时不再修改deeplinking，  而当退出全屏时，使用最后的deeplinking</p>
<p>可以侦听stage类的事件FullScreenEvent. FULL_SCREEN</p>
<p>在任何被添加到了舞台的DisplayObject对象内部,都可以这样写：</p>
<p>this.stage.addEventListener(FullScreenEvent.FULL_SCREEN, stage_fullScreenHandler);</p>
<p>//侦听全屏变化的事件</p>
<p>private function stage_fullScreenHandler(event:FullScreenEvent):void{</p>
<p>//event.fullScreen为false的时候，是退出全屏，true是进入全屏</p>
<p>if(!event.fullScreen){</p>
<p>//修改deeplinking</p>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ityao.com/archives/722/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
