<?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>DFdou&#039;s Blog &#187; AIR</title>
	<atom:link href="http://nwhy.org/tag/air/feed" rel="self" type="application/rss+xml" />
	<link>http://nwhy.org</link>
	<description>Life is short,Be yourself.</description>
	<lastBuildDate>Thu, 29 Jul 2010 02:10:07 +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>Flash-New knowledge exchange for Flex/Flash/AIR developers</title>
		<link>http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html</link>
		<comments>http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html#comments</comments>
		<pubDate>Fri, 27 Nov 2009 04:51:33 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=5080</guid>
		<description><![CDATA[今天电脑崩了，结果嘛，就没写日志，转个博文偷懒下。来自：http://www.insideria.com/2009/11/new-knowledge-exchange-for-fle.html There are about 250K developers working with Flex and AIR. If you add an army of ActionScript develop... ]]></description>
			<content:encoded><![CDATA[<p>今天电脑崩了，结果嘛，就没写日志，转个博文偷懒下。来自：<a  href="http://www.insideria.com/2009/11/new-knowledge-exchange-for-fle.html">http://www.insideria.com/2009/11/new-knowledge-exchange-for-fle.html</a></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">There are about 250K developers working with Flex and AIR. If you add an army of ActionScript developers, this number will grow substantially. Where do you go if you have a technical issue while developing RIA? As of today, there no one place to ask questions and get answers. A respected forum flexcoders uses the outdated and hard to follow Yahoo! groups. Some people try to find answers visiting blogs they trust. Some developers post their questions on Twitter.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">About a year ago Joel Spolsky and Jeff Atwood released a well designed and easy to follow knowledge exchange stackoverflow.com, where people earn reputation by suggesting the right solutions to people's problems. Flex/Flash/Air developers started to post their questions there among the plethora of questions on other technologies and programming languages.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">Joel and Jeff went one step further and are offering the engine (stackexchange) for creation of similar knowledge exchanges for discussion any kinds of subjects. Using this engine is not free, but our company, Farata Systems continues contributing to Flex community and will pick up the cost involved with running the knowledge dedicated to RIA technologies that produce applications to be deployed with Flash Player.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">We are just starting and created a an exchange Built4Flash on stackexchange engine and would like to invite Flex, Flash, AIR, and Coldfusion developers to post questions there and provide answers to others. The URL of the Web site is<a  style="color: #0077dd; text-decoration: none;" href="http://built4flash.stackexchange.com/"><strong style="font-weight: bold;">http://built4flash.stackexchange.com</strong></a>.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">Your questions and answers not only will help others in solving their issues, but you'll also have a chance to become visible and reputable person in this lively and Flashy community.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.75em; margin-left: 0px; padding: 0px;">I really hope you'll support this initiative.</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li><li>2008/10/06 -- <a  href="http://nwhy.org/some-as3-tools.html" title="Flex/AS3/Air参考书籍及小工具">Flex/AS3/Air参考书籍及小工具</a> (21)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/05/27 -- <a  href="http://nwhy.org/aas3wdp-chapter-8-composite-1.html" title="AAS3WDP-Chapter 8 Composite 组合模式(上)">AAS3WDP-Chapter 8 Composite 组合模式(上)</a> (0)</li><li>2009/05/22 -- <a  href="http://nwhy.org/about-flash.html" title="About Flash">About Flash</a> (1)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/05 -- <a  href="http://nwhy.org/as3-30-useful-open-source-projects.html" title="AS3-30+ useful open source projects">AS3-30+ useful open source projects</a> (4)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2008/11/21 -- <a  href="http://nwhy.org/air-flextour.html" title="Air-flex tour">Air-flex tour</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Air-fWeather Google Weather Api使用例子</title>
		<link>http://nwhy.org/air-fweather-google-weather-api.html</link>
		<comments>http://nwhy.org/air-fweather-google-weather-api.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:00:19 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[fDEV]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[fWeather]]></category>
		<category><![CDATA[Google Api]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=5062</guid>
		<description><![CDATA[var flashvars = {}; flashvars.airversion = '1.1'; flashvars.appname = 'fWeather'; flashvars.appurl = 'http://nwhy.org/nwhy/fDEV/fWeather.air'; flashvars.imageurl = 'http://nwhy.org/nwhy/fDEV/fWeatherD.jpg'; var params = {}; params.wmode = 'window'; param... ]]></description>
			<content:encoded><![CDATA[<p><script>
var flashvars = {};
flashvars.airversion = '1.1';
flashvars.appname = 'fWeather';
flashvars.appurl = 'http://nwhy.org/nwhy/fDEV/fWeather.air';
flashvars.imageurl = 'http://nwhy.org/nwhy/fDEV/fWeatherD.jpg';
var params = {};
params.wmode = 'window';
params.menu = 'false';
params.quality = 'high';
var attributes = {};
swfobject.embedSWF('http://nwhy.org/nwhy/fDEV/AIRInstallBadge.swf', 'fWeather_div', '205', '170', '9.0.115', 'http://nwhy.org/nwhy/fDEV/expressInstall.swf', flashvars, params, attributes);
</script></p>
<div id="fWeather_div">需要Flash Player9+，如果你看到这段文字，请点击下边的图片链接更新您的Flash Player，或者直接下载Air文件进行安装。<br />
<a  href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="get_flash_player" /></a>
 </div>
<p>AIR程序下载地址(需要先安装<a  href="http://get.adobe.com/cn/air/">AIR运行时</a>)：<a  href="http://nwhy.org/nwhy/fDEV/fWeather.air">http://nwhy.org/nwhy/fDEV/fWeather.air</a>.<br />
<img src="http://nwhy.org/nwhy/fDEV/fWeather.jpg" alt="fWeather" /><br />
不知道为什么，Google Weather Api的说明文档一直没有找到，难道现在连Lab状态都不是？<br />
这次是用Flash CS4做的AIR程序，发布的时候发现Flash在生成xml配置文件的时候存在一点问题啊……<br />
<span id="more-5062"></span><br />
Google Weather Api的使用非常的简单，下边是主要代码：</p>
<pre class="brush: js">
private function cityLoadComplete(_e:Event):void {
	var cityXML:XML=XML(_e.target.data);
	cityXML.ignoreWhitespace=true;
	var len:uint=cityXML.cities.city.length();
	for (var i:int=0; i&lt;len ; i++) {
		cbx_city.addItem({ label: cityXML.cities.city[i].name.@data, data:cityXML.cities.city[i].name.@data });
	}
}

private function cityChange(_e:Event):void {
	var cbx:ComboBox=_e.currentTarget as ComboBox;
	var url_selectedCity:String=cbx.selectedItem.label;
	var loader:URLLoader = new URLLoader();
	loader.addEventListener(Event.COMPLETE, weatherLoadComplete);
	loader.addEventListener(ProgressEvent.PROGRESS,loadingProgress);
	loader.addEventListener(IOErrorEvent.IO_ERROR, loadIOError);
	loader.load(new URLRequest(url_weather+url_selectedCity));
}
private function weatherLoadComplete(_e:Event) {
	var weatherXML:XML=XML(_e.target.data);
	weatherXML.ignoreWhitespace=true;
	for (var i:uint=0; i&lt;num_weather; i++) {
		trace(weatherXML.weather.forecast_conditions[i].day_of_week.@data);
		View_weatherV0(sp_weatherCont.getChildAt(i)).tf_date.text=weatherXML.weather.forecast_conditions[i].day_of_week.@data;
		View_weatherV0(sp_weatherCont.getChildAt(i)).mc_img.source=url_google+weatherXML.weather.forecast_conditions[i].icon.@data;
		View_weatherV0(sp_weatherCont.getChildAt(i)).tf_temp.text=&quot;温度&quot;+weatherXML.weather.forecast_conditions[i].low.@data+&quot;/&quot;+weatherXML.weather.forecast_conditions[i].high.@data;
		View_weatherV0(sp_weatherCont.getChildAt(i)).tf_cond.text=weatherXML.weather.forecast_conditions[i].condition.@data;
	}
}
</pre>
<p>至于Google那边返回城市的xml格式，差不多是这个样子：</p>
<pre class="brush: xml">
&lt;xml_api_reply version=&quot;1&quot;&gt;
  &lt;cities&gt;
    &lt;city&gt;
      &lt;name data=&quot;保定&quot;/&gt;
      &lt;latitude_e6 data=&quot;38849998&quot;/&gt;
      &lt;longitude_e6 data=&quot;115569999&quot;/&gt;
    &lt;/city&gt;
    &lt;city default=&quot;true&quot;&gt;
      &lt;name data=&quot;北京&quot;/&gt;
      &lt;latitude_e6 data=&quot;39930000&quot;/&gt;
      &lt;longitude_e6 data=&quot;116279998&quot;/&gt;
    &lt;/city&gt;
    &lt;city&gt;
...
&lt;/city&gt;&lt;/cities&gt;
</pre>
<p>然后是天气的xml，差不多是这个样子：</p>
<pre class="brush: xml">
&lt;xml_api_reply version=&quot;1&quot;&gt;
  &lt;weather module_id=&quot;0&quot; tab_id=&quot;0&quot; mobile_row=&quot;0&quot; mobile_zipped=&quot;1&quot; row=&quot;0&quot; section=&quot;0&quot;&gt;
    &lt;forecast_information&gt;
      &lt;city data=&quot;Changchun, Jilin&quot;/&gt;
      &lt;postal_code data=&quot;长春&quot;/&gt;
      &lt;latitude_e6 data=&quot;&quot;/&gt;
      &lt;longitude_e6 data=&quot;&quot;/&gt;
      &lt;forecast_date data=&quot;2009-11-15&quot;/&gt;
      &lt;current_date_time data=&quot;2009-11-16 01:00:00 +0000&quot;/&gt;
      &lt;unit_system data=&quot;SI&quot;/&gt;
    &lt;/forecast_information&gt;
    &lt;current_conditions&gt;
      &lt;condition data=&quot;多云&quot;/&gt;
      &lt;temp_f data=&quot;10&quot;/&gt;
      &lt;temp_c data=&quot;-12&quot;/&gt;
      &lt;humidity data=&quot;湿度： 85%&quot;/&gt;
      &lt;icon data=&quot;/ig/images/weather/mostly_cloudy.gif&quot;/&gt;
      &lt;wind_condition data=&quot;风向： 西、风速：2 米/秒&quot;/&gt;
    &lt;/current_conditions&gt;
    &lt;forecast_conditions&gt;
      &lt;day_of_week data=&quot;周日&quot;/&gt;
      &lt;low data=&quot;-17&quot;/&gt;
      &lt;high data=&quot;-7&quot;/&gt;
      &lt;icon data=&quot;/ig/images/weather/mostly_sunny.gif&quot;/&gt;
      &lt;condition data=&quot;晴间多云&quot;/&gt;
    &lt;/forecast_conditions&gt;
    &lt;forecast_conditions&gt;
      &lt;day_of_week data=&quot;周一&quot;/&gt;
      &lt;low data=&quot;-19&quot;/&gt;
      &lt;high data=&quot;-7&quot;/&gt;
      &lt;icon data=&quot;/ig/images/weather/mostly_sunny.gif&quot;/&gt;
      &lt;condition data=&quot;以晴为主&quot;/&gt;
    &lt;/forecast_conditions&gt;
    &lt;forecast_conditions&gt;
      &lt;day_of_week data=&quot;周二&quot;/&gt;
      &lt;low data=&quot;-18&quot;/&gt;
      &lt;high data=&quot;-8&quot;/&gt;
      &lt;icon data=&quot;/ig/images/weather/sunny.gif&quot;/&gt;
      &lt;condition data=&quot;晴&quot;/&gt;
    &lt;/forecast_conditions&gt;
    &lt;forecast_conditions&gt;
      &lt;day_of_week data=&quot;周三&quot;/&gt;
      &lt;low data=&quot;-16&quot;/&gt;
      &lt;high data=&quot;-4&quot;/&gt;
      &lt;icon data=&quot;/ig/images/weather/sunny.gif&quot;/&gt;
      &lt;condition data=&quot;晴&quot;/&gt;
    &lt;/forecast_conditions&gt;
  &lt;/weather&gt;
  &lt;ignorewhitespace&gt;true&lt;/ignorewhitespace&gt;
&lt;/xml_api_reply&gt;
</pre>
<p>对应着做解析，然后把数据给View就可以了，呵呵，还是挺轻松的吧。<br />
本来打算做一个常用城市的保存功能，不过想想又懒的做哈哈。SO，就这样吧。</len></p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-fweather-google-weather-api.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Air-无缝安装工具AIRInstallBadge的使用方法</title>
		<link>http://nwhy.org/air-airinstallbadge.html</link>
		<comments>http://nwhy.org/air-airinstallbadge.html#comments</comments>
		<pubDate>Wed, 11 Nov 2009 01:06:31 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AIRInstallBadge]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=5034</guid>
		<description><![CDATA[AIRInstallBadge是个啥，大家自己G去，使用方法也挺简单的。 先导入需要的swfobject： &#60;script type=&#039;text/javascript&#039; src=&#039;{your url}/swfobject.js&#039;&#62;&#60;/script&#62; //设置参数，都很明了看着设... ]]></description>
			<content:encoded><![CDATA[<p>AIRInstallBadge是个啥，大家自己G去，使用方法也挺简单的。<br />
先导入需要的swfobject：</p>
<pre class="brush: html">
&lt;script type=&#039;text/javascript&#039; src=&#039;{your url}/swfobject.js&#039;&gt;&lt;/script&gt;
//设置参数，都很明了看着设置吧～
&lt;script&gt;
var flashvars = {};
flashvars.airversion = &#039;1.5&#039;;
flashvars.appname = &#039;fLing&#039;;
flashvars.appurl = &#039;{your url}/fLing.air&#039;;
flashvars.imageurl = &#039;{your url}/fLing.jpg&#039;;
var params = {};
params.wmode = &#039;window&#039;;
params.menu = &#039;false&#039;;
params.quality = &#039;high&#039;;
var attributes = {};
swfobject.embedSWF(&#039;{your url}/AIRInstallBadge.swf&#039;, &#039;fling_div&#039;, &#039;205&#039;, &#039;170&#039;, &#039;9.0.115&#039;, &#039;{your url}/expressInstall.swf&#039;, flashvars, params, attributes);
&lt;/script&gt;
</pre>
<p>html部分的代码:</p>
<pre class="brush: html">
&lt;div id=&quot;fling_div&quot;&gt;&lt;/div&gt;
</pre>
<p>看代码是不是就跟swfobject嵌入Flash的操作一模一样？呵呵，废话嘛，本来就是swfobject，当然一样。</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-airinstallbadge.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Air-窗口的拖动,活动/非活动状态,透明设置</title>
		<link>http://nwhy.org/air-drag-active-alpha.html</link>
		<comments>http://nwhy.org/air-drag-active-alpha.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 02:33:03 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[ACTIVATE]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[DEACTIVATE]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=5009</guid>
		<description><![CDATA[要给Air程序设置透明，请先设置xxx-app.xml里的 &#60;transparent&#62;true&#60;/transparent&#62; 然后就是在窗口载入完或者其他初始化里执行init()，拖动，以及Air处于活动/非活动窗口时的透明化处理如下： ... ]]></description>
			<content:encoded><![CDATA[<p>要给Air程序设置透明，请先设置xxx-app.xml里的</p>
<pre class="brush: html">
&lt;transparent&gt;true&lt;/transparent&gt;
</pre>
<p>然后就是在窗口载入完或者其他初始化里执行init()，拖动，以及Air处于活动/非活动窗口时的透明化处理如下：</p>
<pre class="brush: js">
private function init():void{
	addEventListener(MouseEvent.MOUSE_DOWN, dragApp);
	addEventListener(MouseEvent.MOUSE_UP, dropApp);
	addEventListener(Event.ACTIVATE, activeApp);
	addEventListener(Event.DEACTIVATE, deActiveApp);
}
private function activeApp(_e:Event):void{
	this.alpha=1;
}
private function deActiveApp(_e:Event):void{
	this.alpha=0.5;
}
//窗体拖动处理
private function dragApp(_e:MouseEvent):void{
	if (_e.target == this){
		this.nativeWindow.startMove();
		this.alpha=0.5;
	}
}
private function dropApp(_e:MouseEvent):void{
	this.alpha=1;
}
</pre>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-drag-active-alpha.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Air-fLing 小闹钟程序</title>
		<link>http://nwhy.org/air-fling.html</link>
		<comments>http://nwhy.org/air-fling.html#comments</comments>
		<pubDate>Sat, 07 Nov 2009 12:32:46 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[fDEV]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[fLing]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=5004</guid>
		<description><![CDATA[var flashvars = {}; flashvars.airversion = '1.5'; flashvars.appname = 'fLing'; flashvars.appurl = 'http://nwhy.org/nwhy/fDEV/fLing.air'; flashvars.imageurl = 'http://nwhy.org/nwhy/fDEV/fLingD.jpg'; var params = {}; params.wmode = 'window'; params.menu = ... ]]></description>
			<content:encoded><![CDATA[<p><script>
var flashvars = {};
flashvars.airversion = '1.5';
flashvars.appname = 'fLing';
flashvars.appurl = 'http://nwhy.org/nwhy/fDEV/fLing.air';
flashvars.imageurl = 'http://nwhy.org/nwhy/fDEV/fLingD.jpg';
var params = {};
params.wmode = 'window';
params.menu = 'false';
params.quality = 'high';
var attributes = {};
swfobject.embedSWF('http://nwhy.org/nwhy/fDEV/AIRInstallBadge.swf', 'fling_div', '205', '170', '9.0.115', 'http://nwhy.org/nwhy/fDEV/expressInstall.swf', flashvars, params, attributes);
</script></p>
<div id="fling_div">需要Flash Player9+，如果你看到这段文字，请点击下边的图片链接更新您的Flash Player，或者直接下载Air文件进行安装。<br />
<a  href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="get_flash_player" /></a>
 </div>
<p>AIR程序下载地址(需要先安装<a  href="http://get.adobe.com/cn/air/">AIR运行时</a>)：<a  href="http://nwhy.org/nwhy/fDEV/fLing.air">http://nwhy.org/nwhy/fDEV/fLing.air</a>.<br />
唉，昨天的时候本来想去参加淘宝的秒杀活动，看中了一个被子和砂锅。<br />
结果因为太忙完全忘记了这回事，当我想起来的时候活动已经结束一个多小时，打开网页一看，东西都已经没了！<br />
最近正好在弄Flex，就做了这么个玩意儿，问了下BOSS叶，闹钟，Alarm?<br />
直译有点僵硬，换个名字，就叫fLing吧，比较喜欢这个。<br />
fLing使用很简单，选择一个时间，然后设置闹铃就可以了，到点的时候会提示。<br />
PS:闹铃铃声在安装目录下的assets\media\alert.mp3，要换的自己动手～<br />
<img src="http://nwhy.org/nwhy/fDEV/fLing.jpg" alt="fLing" /><br />
什么时候可能会需要fLing呢？秒杀的时候，微波的时候，煲汤的时候？</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li><li>2008/11/21 -- <a  href="http://nwhy.org/air-flextour.html" title="Air-flex tour">Air-flex tour</a> (1)</li><li>2008/10/06 -- <a  href="http://nwhy.org/some-as3-tools.html" title="Flex/AS3/Air参考书籍及小工具">Flex/AS3/Air参考书籍及小工具</a> (21)</li><li>2010/02/21 -- <a  href="http://nwhy.org/flex-4-list-scrolling-on-android-with-flash-player-10-1.html" title="Flex 4 List Scrolling on Android with Flash Player 10.1">Flex 4 List Scrolling on Android with Flash Player 10.1</a> (0)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/10 -- <a  href="http://nwhy.org/flex-datachooser-cn.html" title="Flex-DataChooser组件的中文显示设置">Flex-DataChooser组件的中文显示设置</a> (0)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-fling.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Air-SQLite浏览工具Lita</title>
		<link>http://nwhy.org/air-sqlite-lita.html</link>
		<comments>http://nwhy.org/air-sqlite-lita.html#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:04:01 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Lita]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4999</guid>
		<description><![CDATA[Lita安装地址：http://www.dehats.com/drupal/?q=node/58。是AIR的，记得下载Runtime。 是个挺方便的工具，先来看作者的公告： Important It is strongly recommended to make backups of your databases on a regular basis. Always assum... ]]></description>
			<content:encoded><![CDATA[<p>Lita安装地址：<a  href="http://www.dehats.com/drupal/?q=node/58">http://www.dehats.com/drupal/?q=node/58</a>。是AIR的，记得下载Runtime。<br />
<img src="http://www.dehats.com/drupal/files/orignal.png" alt="lita" width="650" /><br />
<span id="more-4999"></span><br />
是个挺方便的工具，先来看作者的公告：</p>
<blockquote><p><strong>Important </strong>It is strongly recommended to make backups of your databases on a regular basis. Always assume that Lita can break your database. I decline all responsibility if anything bad happens to your data, whatsoever.</p></blockquote>
<p>呵呵，算是免责声明吧。下边是FAQ，也没什么需要注意的东西：<br />
<strong>Q: What is Lita ?</strong><br />
A: Lita is an administration interface for SQLite databases. It lets you edit your databases structure and data in a dedicated environment.<br />
<strong>Q: How can I install Lita? What are the requirements?</strong><br />
A: Lita is an administration interface for SQLite databases. It lets you edit your databases structure and data in a dedicated environment.<br />
<strong>Q: What is Adobe AIR ?</strong><br />
A: You can learn about Adobe AIR here.<br />
<strong>Q: I can't download / install it it using the install badge. Where can I find the AIR file ?</strong><br />
A: The direct link to the AIR file is here, but you'll need the AIR runtime to install it.<br />
<strong>Q: Can I use Lita with non-AIR SQLite databases ?</strong><br />
A: While most of its features are compatible with any sqlite database, it was primarily designed to administrate AIR application databases. Some field types and features, such as encryption, are AIR only.<br />
<strong>Q: Why did you create another AIR sqlite admin ?</strong><br />
Please read this post if you want to know why I decided to create another SQLite admin tool.<br />
<strong>Q: How can I get the latest news about Lita ?</strong><br />
A: The best way is to follow me on Twitter. You can also subscribe to my blog RSS feed.<br />
<strong>Q: Can I grab the source code somewhere ?</strong><br />
A: Sorry, Lita is not openSource. Q: How can I help or thank you ? If you like Lita, you can add a vote or a review at the Adobe AIR Marketplace.<br />
<strong>Q: How does encryption work ?</strong><br />
A: Well, that's a bit complicated. Please read this.<br />
<strong>Q: How can I trust this application ? What if breaks my database ?</strong><br />
A: It is strongly recommended to make backups of your databases on a regular basis. Always assume that Lita can break your database. I decline all responsibility if anything bad happens to your data, whatsoever.</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-sqlite-lita.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash-Global Error Handling in AIR 2.0 and Flash 10.1</title>
		<link>http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html</link>
		<comments>http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 02:27:57 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4984</guid>
		<description><![CDATA[Global Error Handling全局变量处理，以下内容翻译自http://blogs.adobe.com/cantrell/archives/2009/10/global_error_handling_in_air_20.html，人肉翻译哈哈。 在MAX presentation中最受欢迎的一个内容是global error handling (GEH)... ]]></description>
			<content:encoded><![CDATA[<p>Global Error Handling全局变量处理，以下内容翻译自<a  href="http://blogs.adobe.com/cantrell/archives/2009/10/global_error_handling_in_air_20.html">http://blogs.adobe.com/cantrell/archives/2009/10/global_error_handling_in_air_20.html</a>，人肉翻译哈哈。<br />
在MAX presentation中最受欢迎的一个内容是global error handling (GEH)，GEH可以让你处理全部捕获的errors(包括同步error和异步error事件)。下边是GEH的一个工作示例：</p>
<pre class="brush: xml">
&lt; ?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx :WindowedApplication xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; applicationComplete=&quot;onApplicationComplete();&quot;&gt;
    &lt;/mx&gt;&lt;mx :Script&gt;
        &lt; ![CDATA[
            private function onApplicationComplete():void
            {
                loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
            }

            private function onUncaughtError(e:UncaughtErrorEvent):void
            {
                // Do something with your error.
                trace(e.error, e.errorID);
            }

            private function onCauseError(e:MouseEvent):void
            {
                var foo:String = null;
                try
                {
                    trace(foo.length);
                }
                catch (e:TypeError)
                {
                    trace(&quot;This error is caught.&quot;);
                }

                // Since this error isn&#039;t caught, it will cause the global error handler to fire.
                trace(foo.length);
            }
        ]]&gt;
    &lt;/mx&gt;
    &lt;mx :Button label=&quot;Cause TypeError&quot; click=&quot;onCauseError(event);&quot;/&gt;
</pre>
<p>注册捕获errors是非常便利的，不过开发人员也不需要捕获所有的errors。举个例子，你还是需要在某些地方捕获IOError事件，以方便修复。不过在AIR 2.0 (和 FP 10.1)里，你可以注册GEH来更方便地捕获到这些error。<br />
现在的一个大问题是，当你捕获到一个没有定位的error时你该怎么做？这要看是什么样的Application。它可能就像一个函数一路执行到底，也没有告诉你现在app的状态。最安全的做法大概是log error，显示一个醒目的对话框，然后退出app(当然，如果error可以被预测，并且易于恢复，你应该明确地捕获它)。<br />
你可以尝试将error信息发送到你的服务器，包括通过电子邮件发送error log到技术支持的电子邮件地址。如果这是个单机版的软件，或许提供电话或者地址让用户来反馈也不错。<br />
<strong>It's entirely up to you. We provide the API, you provide the solution.</strong></p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li><li>2008/10/06 -- <a  href="http://nwhy.org/some-as3-tools.html" title="Flex/AS3/Air参考书籍及小工具">Flex/AS3/Air参考书籍及小工具</a> (21)</li><li>2010/07/29 -- <a  href="http://nwhy.org/the-evolution-of-adobe-flash-from-1996-to-2010.html" title="The Evolution of Adobe Flash: From 1996 to 2010">The Evolution of Adobe Flash: From 1996 to 2010</a> (0)</li><li>2009/11/30 -- <a  href="http://nwhy.org/iphone-adobe-flash%e5%92%8cmicrosoft-sliverlight.html" title="iPhone-Adobe Flash和Microsoft SliverLight">iPhone-Adobe Flash和Microsoft SliverLight</a> (0)</li><li>2009/11/25 -- <a  href="http://nwhy.org/remember-concerned-about-your-competitors.html" title="记得关注你的竞争对手">记得关注你的竞争对手</a> (0)</li><li>2009/11/19 -- <a  href="http://nwhy.org/flash-function-array-references.html" title="Flash-数组作为函数参数时传的是引用">Flash-数组作为函数参数时传的是引用</a> (0)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Wave</title>
		<link>http://nwhy.org/adobe-wave.html</link>
		<comments>http://nwhy.org/adobe-wave.html#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:01:16 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Wave]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4635</guid>
		<description><![CDATA[似乎是刚放出来不久,官方地址:http://labs.adobe.com/technologies/wave/ 介绍: Adobe® Wave™ is an Adobe AIR® application and Adobe hosted service that work together to enable desktop notifications for web publishers, large and small. It he... ]]></description>
			<content:encoded><![CDATA[<p>似乎是刚放出来不久,官方地址:<a  href="http://labs.adobe.com/technologies/wave/">http://labs.adobe.com/technologies/wave/</a><br />
介绍:</p>
<blockquote><p>Adobe® Wave™ is an Adobe AIR® application and Adobe hosted service that work together to enable desktop notifications for web publishers, large and small.  It helps publishers stay connected to your community and lets users avoid the email clutter of dozens of newsletters and social network update messages. Adobe Wave lets you reach users directly on their desktop: there is no need to make them download a custom application or build it yourself. If you have a community of people interested in hearing updates about your website, service or business, Adobe Wave is for you.<br />
Adobe Wave allows consumers to opt-in to receive desktop notifications from their favorite websites. Unlike news feeds and content syndication, each notification carries a call-to-action: clicking directs users to a publisher-specified URL, helping to drive traffic back to your site.<br />
Notifications can bring activity and events on your site to users even when they’re not in the browser and not thinking about you. You can specify a URL for each notification, so when a user clicks, they’re taken right where they need to go. Unlike e-mail, Adobe Wave has been architected to be a more trusted communications channel and consequently minimizes spam and phishing concerns.<br />
Notifications can be customized with your logo, background and foreground colors, and a thumbnail image to help your brand shine through to the user.</p></blockquote>
<p><span id="more-4635"></span><br />
下边我们来看下FAQ:</p>
<h4>What is Adobe Wave?</h4>
<p>    Adobe Wave is an Adobe AIR application and Adobe hosted service that work together to enable desktop notifications for web publishers, large and small. It helps you stay connected to your community and lets users avoid the email clutter of dozens of newsletters and social network update messages.</p>
<h4>How do I get it/try it?</h4>
<p>    You can connect to the Adobe Wave service by clicking on the “Create a free publish account” button above. There, you will be able to create a Publisher Account and submit it for review. Once approved, you will be able to create feeds and send notifications to your community.</p>
<h4>Will users have to install something for each website they follow?</h4>
<p>    No. When users install Adobe Wave once, they can add different website feeds directly into Adobe Wave without having to install separate applications.</p>
<h4>What if a user doesn’t have Adobe Wave installed? How will they get my feed?</h4>
<p>    When a user clicks on the Adobe Wave badge on your site, we check to see if they have Adobe Wave installed. If not, they are prompted to install it in the seamless subscription flow.</p>
<h4>How do I get users back to my site?</h4>
<p>    You can specify a URL for each notification you send. When a user clicks on the notification, he is taken to that URL.</p>
<h4>When will it be available as a final product?</h4>
<p>    At this point Adobe Wave is a beta project and we are not announcing final availability timeframes.</p>
<h4>Is this a service Adobe will charge for?</h4>
<p>    At this point, Adobe Wave is a beta service and available free-of-charge to publishers and consumers. Over time, Adobe may introduce value added features and services that we charge publishers for.</p>
<h4>How does Adobe Wave fit in with the Flash Platform?</h4>
<p>    Adobe Wave is an AIR application and a developer service that extends the capabilities that we provide to web developers by providing a powerful, engaging way to reach their users. It can be accessed through a HTTP REST API which is available to applications and websites built using web technologies such as HTML/Ajax and Flash.<br />
我们会发现这个Adobe Wave其实是个阅读器,发布者还要专门申请个帐号,发布的时候其实又是发布一个RSS,那问题就来了,我干嘛不用Google Reader之类的直接订阅?要开的东西已经够多了,MSN,QQ,Twitter Deck,,又开一个Adobe Wave,?总觉得Adobe这个市场扩展做的有点问题,或者说这个东西并不是单独的作为一个Reader存在?,,等看发展情况吧..<br />
PS:注册了一个Publisher帐号,不过要等审核,,.这个这个,,,等有结果了再丢一个到这里吧,,.</p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/30 -- <a  href="http://nwhy.org/iphone-adobe-flash%e5%92%8cmicrosoft-sliverlight.html" title="iPhone-Adobe Flash和Microsoft SliverLight">iPhone-Adobe Flash和Microsoft SliverLight</a> (0)</li><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/09/22 -- <a  href="http://nwhy.org/adobe-cookbook-2-0.html" title="Adobe Cookbook 2.0">Adobe Cookbook 2.0</a> (0)</li><li>2009/06/26 -- <a  href="http://nwhy.org/adobechinadeveloper-716shanghai.html" title="Adobe开发者技术日 7月16上海">Adobe开发者技术日 7月16上海</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/adobe-wave.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</title>
		<link>http://nwhy.org/aas3wdp-virtual-proxy.html</link>
		<comments>http://nwhy.org/aas3wdp-virtual-proxy.html#comments</comments>
		<pubDate>Thu, 14 May 2009 01:10:02 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AAS3WDP]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Virtual Proxy]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4288</guid>
		<description><![CDATA[按照习惯应该先鬼扯下什么是Virtual Proxy，……话说…还是直接参阅Java设计模式的Virtual Proxy吧，或者看看这个吧:"Java设计模式之虚拟代理模式"。 Flash里边的Loader就是一个代理，书上的说法是这... ]]></description>
			<content:encoded><![CDATA[<p>按照习惯应该先鬼扯下什么是Virtual Proxy，……话说…还是直接参阅Java设计模式的Virtual Proxy吧，或者看看这个吧:<a  href="http://tech.it168.com/a2009/0223/266/000000266401.shtml">"Java设计模式之虚拟代理模式"</a>。<br />
Flash里边的Loader就是一个代理，书上的说法是这样的，本来一个元件是必须等到加载完成才能加载到显示列表中的，但是用了虚拟代理之后，可以将代理当成一个加载完成后的元件，加入到显示列表中。<br />
下边么，来点代码，先是接口类IProduct.as：</p>
<pre class="brush: js">
package{
	public interface IProduct{
		//get method
		function getPrice():Number;
		function getTitle():String;
		//set method
		function setPrice(price:Number):void;
		function setTitle(title:String):void;
	}
}
</pre>
<p><span id="more-4288"></span><br />
实现该接口的类Product.as:</p>
<pre class="brush: js">
package{
	import IProduct;
	public class Product implements IProduct{
		private var _price:Number;
		private var _title:String;
		public function Product():void{}
		//get method
		public function getPrice():Number{
			return _price;
		}
		public function getTitle():String{
			return _title;
		}
		//set method
		public function setPrice(price:Number):void{
			_price=price;
		}
		public function setTitle(title:String):void{
			_title=title;
		}
	}
}
</pre>
<p>接着，是代理类XMLProductProxy.as</p>
<pre class="brush: js">
package{
	import IProduct;
	import Product;
	public class XMLProductProxy implements IProduct{
		private var _data:XML;
		private var _product:Product;
		public function XMLProductProxy(data:XML){
			_data=data;
			_product=new Product();
		}
		//get method
		public function getPrice():Number{
			if(isNaN(_product.getPrice())){
				_product.setPrice(Number(_data.price.toString()));
			}
			return _product.getPrice();
		}
		public function getTitle():String{
			if(_product.getTitle()==null){
				_product.setTitle(_data.title.toString());
			}
			return _product.getTitle();
		}
		//set method
		public function setPrice(price:Number):void{
			_data.price=price;
			_product.setPrice(price);
		}
		public function setTitle(title:String):void{
			_data.title=title;
			_product.setTitle(title);
		}
	}
}
</pre>
<p>XMLProductProxy类实现IProduct接口，但是呢又通过另一个具体实现类Product，使用组合来继承Product类所有的方法。<br />
接着就是代理的使用了：<br />
Fla Source：</p>
<pre class="brush: js">
import XMLProductProxy;
import IProduct;
var data:XML=&lt;product&gt;&lt;title&gt;我是标题&lt;/title&gt;&lt;price&gt;18.75&lt;/price&gt;&lt;/product&gt;;
var product:IProduct=new XMLProductProxy(data);
trace(product.getTitle()+&quot;---$&quot;+product.getPrice());
//output 我是标题---$18.75
</pre>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/05/28 -- <a  href="http://nwhy.org/aas3wdp-chapter-8-composite-2.html" title="AAS3WDP-Chapter 8 Composite 组合模式(下)">AAS3WDP-Chapter 8 Composite 组合模式(下)</a> (0)</li><li>2009/05/27 -- <a  href="http://nwhy.org/aas3wdp-chapter-8-composite-1.html" title="AAS3WDP-Chapter 8 Composite 组合模式(上)">AAS3WDP-Chapter 8 Composite 组合模式(上)</a> (0)</li><li>2009/05/19 -- <a  href="http://nwhy.org/aas3wdp-chapter-7-iterator.html" title="AAS3WDP-Chapter 7 Iterator 迭代模式">AAS3WDP-Chapter 7 Iterator 迭代模式</a> (0)</li><li>2009/05/15 -- <a  href="http://nwhy.org/aas3wdp-chapter-6-remote-proxy.html" title="AAS3WDP-Chapter 6 Remote Proxy 远程代理">AAS3WDP-Chapter 6 Remote Proxy 远程代理</a> (0)</li><li>2009/05/13 -- <a  href="http://nwhy.org/aas3wdp-chapter-5-factory-%e5%b7%a5%e5%8e%82%e6%a8%a1%e5%bc%8f.html" title="AAS3WDP-Chapter 5 Factory 工厂模式">AAS3WDP-Chapter 5 Factory 工厂模式</a> (0)</li><li>2009/06/24 -- <a  href="http://nwhy.org/flash-ship-on-android-phone.html" title="Flash-Adobe&#8217;s Flash to ship on new Android phone">Flash-Adobe&#8217;s Flash to ship on new Android phone</a> (0)</li><li>2009/06/18 -- <a  href="http://nwhy.org/flash-swfinputs-solving-mozilla-transparent-mode.html" title="Flash-Transparent时在FF和Safari下无法输入中文的解决方案">Flash-Transparent时在FF和Safari下无法输入中文的解决方案</a> (0)</li><li>2009/05/22 -- <a  href="http://nwhy.org/about-flash.html" title="About Flash">About Flash</a> (1)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2009/02/23 -- <a  href="http://nwhy.org/flash-load.html" title="Flash-AS2和AS3的加载">Flash-AS2和AS3的加载</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/aas3wdp-virtual-proxy.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR-远程登录验证Login Check</title>
		<link>http://nwhy.org/air-login-application.html</link>
		<comments>http://nwhy.org/air-login-application.html#comments</comments>
		<pubDate>Mon, 04 May 2009 09:34:19 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Login]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4247</guid>
		<description><![CDATA[今天测试了下AIR的远程登录，其实代码和一般的程序是没有区别的，就是发布成了AIR，所以可以远程登录。 With Flash CS4 we can create AIR application now,this is a simple AIR application to login with AIR APP. AS Code... ]]></description>
			<content:encoded><![CDATA[<p>今天测试了下AIR的远程登录，其实代码和一般的程序是没有区别的，就是发布成了AIR，所以可以远程登录。<br />
With Flash CS4 we can create AIR application now,this is a simple AIR application to login with AIR APP.<br />
AS Code:</p>
<pre class="brush: js">
package {
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import flash.events.Event;
	import flash.net.*;
	import com.adobe.utils.StringUtil;

	public class Login extends MovieClip {
		public function Login():void {
			initLogin();
		}
		public function initLogin():void {
			txtPwd.displayAsPassword=true;
			btn_login.addEventListener(MouseEvent.CLICK,loginAPP);
		}
		internal function loginAPP(_evt:MouseEvent) {
			txtResult.text=&quot;登录中...&quot;;
			var uname=StringUtil.trim(txtName.text);
			var upwd=StringUtil.trim(txtPwd.text);
			if(checkInput(uname) &amp;&amp; checkInput(upwd)){
				var loader:URLLoader=new URLLoader();
				var loginURL:URLRequest=new URLRequest(&quot;login.php&quot;);//login check url
				var loginVar:URLVariables=new URLVariables();
				loginVar.uname=uname;
				loginVar.upwd=upwd;
				loginURL.data=loginVar;
				loginURL.method=URLRequestMethod.POST;
				loader.addEventListener(Event.COMPLETE,loginComplete);
				try {
					loader.load(loginURL);
				} catch (error:ArgumentError) {
					trace(&quot;参数错误&quot;);
				} catch (error:SecurityError) {
					trace(&quot;发生安全错误&quot;);
				}
			}else{
				txtResult.text=&quot;信息输入不完整！&quot;;
			}
		}
		internal function checkInput(strInput:String):Boolean{
			if(strInput==&quot;&quot;){
				return false;
			}else{
				return true;
			}
		}
		internal function loginComplete(_evt:Event) {
			var rsResult:String=_evt.target.data;
			switch(rsResult){
				case &quot;1000&quot;:
					txtResult.text=&quot;登录成功&quot;;
					break;
				case &quot;1001&quot;:
					txtResult.text=&quot;密码错误！&quot;;
					break;
				case &quot;1002&quot;:
					txtResult.text=&quot;用户名不存在！&quot;;
					break;
			}
		}
	}
}
</pre>
<p><span id="more-4247"></span><br />
PHP部分的代码，用了Discuz来做测试，这部分的大家看着自己写吧～</p>
<pre class="brush: php">
&lt; ?php
require_once(&quot;../include/common.inc.php&quot;);//Use discuz bbs&#039;s common.inc.php
$uname=$_POST[&quot;uname&quot;];
$sql=&quot;SELECT salt FROM uc_members WHERE username=&#039;$uname&#039; LIMIT 1&quot;;
$rs = $db-&gt;query($sql);
$rscount=@mysql_num_rows($rs);
if($rscount&gt;0){
	$rows=$db-&gt;fetch_array($rs);
	$salt=$rows[&quot;salt&quot;];
	$upwd=md5(md5($_POST[&quot;upwd&quot;]).$salt);//discuz user password
	$sql=&quot;SELECT uid,username FROM {$tablepre}members WHERE username=&#039;$uname&#039; AND password=&#039;$upwd&#039;&quot;;
	$rs = $db-&gt;query($sql);
	$result=@mysql_num_rows($rs);
	if($result==0){
		echo &quot;1001&quot;;//pwd failed
	}else{
		echo &quot;1000&quot;;//login success
	}
}else{
	echo &quot;1002&quot;;//no user name
}
?&gt;
</pre>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/09/07 -- <a  href="http://nwhy.org/as3-physics-formula.html" title="Flash-一些常用物理公式和AS3的结合应用">Flash-一些常用物理公式和AS3的结合应用</a> (1)</li><li>2009/07/28 -- <a  href="http://nwhy.org/flash-fuzzy-theory.html" title="Flash &#8211; 说是XXX的模糊理论视觉模型？">Flash &#8211; 说是XXX的模糊理论视觉模型？</a> (2)</li><li>2009/07/27 -- <a  href="http://nwhy.org/flash-setter-getter.html" title="Flash-Setter &#038; Getter">Flash-Setter &#038; Getter</a> (0)</li><li>2009/07/20 -- <a  href="http://nwhy.org/game-avoid-bullets-2.html" title="AS3-子弹躲避游戏(下)">AS3-子弹躲避游戏(下)</a> (0)</li><li>2009/07/17 -- <a  href="http://nwhy.org/game-avoid-bullets-1.html" title="AS3-子弹躲避游戏(上)">AS3-子弹躲避游戏(上)</a> (1)</li><li>2009/07/13 -- <a  href="http://nwhy.org/as3-code-optimization.html" title="AS3 Code Optimization一些代码优化的问题">AS3 Code Optimization一些代码优化的问题</a> (0)</li><li>2009/06/25 -- <a  href="http://nwhy.org/flash-megazine3.html" title="Flash-An Pageflip/Flashbook Engine MegaZine 3">Flash-An Pageflip/Flashbook Engine MegaZine 3</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-login-application.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR-Application minimize,drag and exit</title>
		<link>http://nwhy.org/air-application-minimizedrag-and-exit.html</link>
		<comments>http://nwhy.org/air-application-minimizedrag-and-exit.html#comments</comments>
		<pubDate>Mon, 27 Apr 2009 07:47:05 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=4223</guid>
		<description><![CDATA[I installed Flash CS4 today,found that it's easy to create AIR Application in CS4!! Between Flex and Flash,I like Flash IDE best! Because if u use Flex IDE,u should know MXML and AS3,but if use Flash,only AS3 is good enough.OK,it's the time to goto the s... ]]></description>
			<content:encoded><![CDATA[<p>I installed Flash CS4 today,found that it's easy to create AIR Application in CS4!! Between Flex and Flash,I like Flash IDE best!<br />
Because if u use Flex IDE,u should know MXML and AS3,but if use Flash,only AS3 is good enough.OK,it's the time to goto the subject.<br />
When we create an AIR Application,we may want to minimize it,drag it and exit it by some MC(movieclip) or Button,then how can we do it?<br />
Core Class Main.as here:</p>
<pre class="brush: js">
package {
	import flash.desktop.NativeApplication;
	import flash.display.MovieClip;
	import flash.events.MouseEvent;

	public class Main extends MovieClip {
		public var closeBt:MovieClip;
		public var minBt:MovieClip;
		public var recordBox:MovieClip;

		public function Main():void {
			btn_close.addEventListener(MouseEvent.CLICK, closeApp);
			btn_min.addEventListener(MouseEvent.CLICK, minApp);
			btn_drag.addEventListener(MouseEvent.MOUSE_DOWN, dragApp);
		}
		//drag Application with btn_drag
		private function dragApp(_evt:MouseEvent):void {
			stage.nativeWindow.startMove();
		}
		//close Application
		private function closeApp(_evt:MouseEvent):void {
			NativeApplication.nativeApplication.exit();
		}
		//minimize Application
		private function minApp(_evt:MouseEvent):void {
			stage.nativeWindow.minimize();
		}
	}
}
</pre>
<p>Then,import this Main.as in your Application,everything is OK~It's so easy work,isn't it? </p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2008/10/06 -- <a  href="http://nwhy.org/some-as3-tools.html" title="Flex/AS3/Air参考书籍及小工具">Flex/AS3/Air参考书籍及小工具</a> (21)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/05/27 -- <a  href="http://nwhy.org/aas3wdp-chapter-8-composite-1.html" title="AAS3WDP-Chapter 8 Composite 组合模式(上)">AAS3WDP-Chapter 8 Composite 组合模式(上)</a> (0)</li><li>2009/05/22 -- <a  href="http://nwhy.org/about-flash.html" title="About Flash">About Flash</a> (1)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/05 -- <a  href="http://nwhy.org/as3-30-useful-open-source-projects.html" title="AS3-30+ useful open source projects">AS3-30+ useful open source projects</a> (4)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2008/11/21 -- <a  href="http://nwhy.org/air-flextour.html" title="Air-flex tour">Air-flex tour</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-application-minimizedrag-and-exit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR-两款Twitter客户端介绍Twhirl+TweetDeck</title>
		<link>http://nwhy.org/twitter-client-twhirl-tweetdeck.html</link>
		<comments>http://nwhy.org/twitter-client-twhirl-tweetdeck.html#comments</comments>
		<pubDate>Wed, 04 Feb 2009 16:04:44 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[Others]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[TweetDeck]]></category>
		<category><![CDATA[Twhirl]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nwhy.org/?p=3620</guid>
		<description><![CDATA[两款AIR程序，都可以在桌面发布Twitter信息。 由于是AIR程序，所以安装前需要先安装AIR环境。点击这里下载Adobe Air。 Twhirl的下载地址如下：http://www.twhirl.org/files/twhirl-0.8.7.air，twhirl目前支持Twitte... ]]></description>
			<content:encoded><![CDATA[<p>两款AIR程序，都可以在桌面发布<a  href="http://twitter.com">Twitter</a>信息。<br />
由于是AIR程序，所以安装前需要先安装AIR环境。<a href="http://labs.adobe.com/downloads/air.html ">点击这里下载Adobe Air</a>。</p>
<p><a  href="http://www.twhirl.org/">Twhirl</a>的下载地址如下：<a  href="http://www.twhirl.org/files/twhirl-0.8.7.air">http://www.twhirl.org/files/twhirl-0.8.7.air</a>，twhirl目前支持Twitter, laconi.ca, Friendfeed和seesmic帐号。<br />
<a  href="http://www.tweetdeck.com/beta/">TweetDeck</a>是同样的东西，不过用途更单一，只支持Twitter帐号，功能也更多些。<br />
Version 0.21 beta版本下载地址：<a  href="http://www.tweetdeck.com/beta/TweetDeck_0_21.air">http://www.tweetdeck.com/beta/TweetDeck_0_21.air</a></p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/08/04 -- <a  href="http://nwhy.org/digu-huotu.html" title="“嘀咕火兔”改名“火兔网”，“嘀咕”继续维护">“嘀咕火兔”改名“火兔网”，“嘀咕”继续维护</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/twitter-client-twhirl-tweetdeck.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Air-flex tour</title>
		<link>http://nwhy.org/air-flextour.html</link>
		<comments>http://nwhy.org/air-flextour.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:28:44 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.street13.org/?p=1971</guid>
		<description><![CDATA[这个东西……恩，应该算是Flex功能演示的一个应用程序，下载地址在：http://flex.org/tour 贴个图： Some Related Posts2009/11/27 -- Flash-New knowledge exchange for Flex/Flash/AIR developers (1)2009/11/07 -- Air-fLing 小闹... ]]></description>
			<content:encoded><![CDATA[<p>这个东西……恩，应该算是Flex功能演示的一个应用程序，下载地址在：<a  href="http://flex.org/tour">http://flex.org/tour</a><br />
贴个图：<br />
<img src="http://lh4.ggpht.com/_YE8sr7aRsWc/SWCn7eSakzI/AAAAAAAAAI8/fNlV0HoNNBQ/s640/tourflex.jpg" alt="" title="tourflex" /></p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li><li>2008/10/06 -- <a  href="http://nwhy.org/some-as3-tools.html" title="Flex/AS3/Air参考书籍及小工具">Flex/AS3/Air参考书籍及小工具</a> (21)</li><li>2010/02/21 -- <a  href="http://nwhy.org/flex-4-list-scrolling-on-android-with-flash-player-10-1.html" title="Flex 4 List Scrolling on Android with Flash Player 10.1">Flex 4 List Scrolling on Android with Flash Player 10.1</a> (0)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/10 -- <a  href="http://nwhy.org/flex-datachooser-cn.html" title="Flex-DataChooser组件的中文显示设置">Flex-DataChooser组件的中文显示设置</a> (0)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/air-flextour.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>有关于AIR</title>
		<link>http://nwhy.org/about-air-1007.html</link>
		<comments>http://nwhy.org/about-air-1007.html#comments</comments>
		<pubDate>Tue, 07 Oct 2008 06:48:16 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://www.street13.org/?p=1569</guid>
		<description><![CDATA[先来介绍下AIR到底是什么东西，AIR全称是”Adobe Integrated Runtime”，由Adobe开发，原代号为Apollo(阿波罗),是一个跨操作系统运行环境,允许开发人员利用他们现有的网络开发技术(如Flash, Flex, HTML, Jav... ]]></description>
			<content:encoded><![CDATA[<p>先来介绍下AIR到底是什么东西，AIR全称是”Adobe Integrated Runtime”，由Adobe开发，原代号为Apollo(阿波罗),是一个跨操作系统运行环境,允许开发人员利用他们现有的网络开发技术(如Flash, Flex, HTML, JavaScript, PDF)在桌面系统建立和部署富互联网应用。<br />
我觉得AIR最让人难以接受的一点是需要下载AIR的Runtime，不然AIR无法运行。<br />
但是这样一来，客户端的接收率应该会下降很多！<br />
另外，在AIR程序安装玩了之后，是生成一个exe文件……好晕啊……<br />
也就是说AIR文件其实是个安装包，安装完了就是个可执行文件，而该可执行文件调用swf？<br />
很奇怪唉……<br />
唉，说来好晕啊，公司电脑上装的这个Flex3有问题，无法发布成AIR……<br />
丢个AIR程序的下载地址：<a  href="http://www.finetune.com/desktop/">finetune desktop</a></p>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/11/16 -- <a  href="http://nwhy.org/air-fweather-google-weather-api.html" title="Air-fWeather Google Weather Api使用例子">Air-fWeather Google Weather Api使用例子</a> (9)</li><li>2009/11/11 -- <a  href="http://nwhy.org/air-airinstallbadge.html" title="Air-无缝安装工具AIRInstallBadge的使用方法">Air-无缝安装工具AIRInstallBadge的使用方法</a> (2)</li><li>2009/11/09 -- <a  href="http://nwhy.org/air-drag-active-alpha.html" title="Air-窗口的拖动,活动/非活动状态,透明设置">Air-窗口的拖动,活动/非活动状态,透明设置</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/06 -- <a  href="http://nwhy.org/air-sqlite-lita.html" title="Air-SQLite浏览工具Lita">Air-SQLite浏览工具Lita</a> (0)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/07/24 -- <a  href="http://nwhy.org/adobe-wave.html" title="Adobe Wave">Adobe Wave</a> (0)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/about-air-1007.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex/AS3/Air参考书籍及小工具</title>
		<link>http://nwhy.org/some-as3-tools.html</link>
		<comments>http://nwhy.org/some-as3-tools.html#comments</comments>
		<pubDate>Mon, 06 Oct 2008 03:02:03 +0000</pubDate>
		<dc:creator>DFdou</dc:creator>
				<category><![CDATA[AIR+FB+AS3]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[FMS]]></category>

		<guid isPermaLink="false">http://www.street13.org/?p=1552</guid>
		<description><![CDATA[部分内容来自：http://www.riahome.cn/?page_id=75 电子书: Cairngorm 开发文档中文版.pdf Adobe官方Flex框架。 OReilly.ActionScript3.0.Cookbook.锦囊妙计.繁体中文版.rar OReilly.Flex.3.Cookbook.May.2008.chm Flex CookBook，案头... ]]></description>
			<content:encoded><![CDATA[<p>部分内容来自：<a  href="http://www.riahome.cn/?page_id=75">http://www.riahome.cn/?page_id=75</a></p>
<h4>电子书:</h4>
<ul style="list-style:none;">
<li class="category"><a  title="Cairngorm 开发文档中文版.pdf" href="http://www.namipan.com/downfile/Cairngorm%20%E5%BC%80%E5%8F%91%E6%96%87%E6%A1%A3%E4%B8%AD%E6%96%87%E7%89%88.pdf/5dacde9f66816a150e3edbc6c1e08ecefd8f83f116121000" target="_blank">Cairngorm 开发文档中文版.pdf</a> Adobe官方Flex框架。</li>
<li class="category"><a  title="OReilly.ActionScript3.0.Cookbook.锦囊妙计.繁体中文版.rar" href="http://easyphpchina.com/yboycn/RIAHome/download/OReilly.ActionScript3.0.Cookbook.rar" target="_blank">OReilly.ActionScript3.0.Cookbook.锦囊妙计.繁体中文版.rar </a></li>
<li class="category"><a  title="OReilly.Flex.3.Cookbook.May.2008.chm" href="http://riahome-download-001.googlecode.com/files/OReilly.Flex.3.Cookbook.May.2008.chm" target="_blank">OReilly.Flex.3.Cookbook.May.2008.chm </a> Flex CookBook，案头书～</li>
<li class="category"><a  title="OReilly.Learning.Flash.Media.Server.3.2008.chm" href="http://riahome-download-001.googlecode.com/files/OReilly.Learning.Flash.Media.Server.3.2008.chm" target="_blank">OReilly.Learning.Flash.Media.Server.3.2008.chm</a> FMS3的最佳入门书籍，推荐。</li>
<li class="category"><a  title="ActionScrtip3.0.Animation.Making.Things.Move.rar" href="http://riahome-download-001.googlecode.com/files/Chinese.ActionScrtip3.0.Animation.Making.Things.Move.rar" target="_blank">Chinese.ActionScrtip3.0.Animation.Making.Things.Move.rar</a> 初级动画教程，强烈推荐看一下，尤其是里边关于多物体状况检测和坐标系旋转的知识。</li>
<li class="category"><a  title="ActionScrtip3.0.Animation.Making.Things.Move.rar" href="http://riahome-download-001.googlecode.com/files/ActionScrtip3.0.Animation.Making.Things.Move.rar" target="_blank">ActionScrtip3.0.Animation.Making.Things.Move.rar </a> 英文版的Making.Things.Move</li>
<li class="category"><a  title="Advanced ActionScript 3 with Design Patterns.chm" href="http://riahome-download-001.googlecode.com/files/Advanced%20ActionScript%203%20with%20Design%20Patterns.chm" target="_blank">Advanced ActionScript 3 with Design Patterns.chm </a> AS3程序设计模式。</li>
<li class="category"><a  title="Creating.Mashups.with.Adobe.Flex.and.AIR.pdf" href="http://riahome-download-001.googlecode.com/files/Creating.Mashups.with.Adobe.Flex.and.AIR.pdf" target="_blank">Creating.Mashups.with.Adobe.Flex.and.AIR.pdf </a> Flex和AIR教程。</li>
<li class="category"><a  title="Rich.Internet.Applications.with.Adobe.Flex.and.Java.2007.eBook-NoGRP.pdf" href="http://riahome-download-001.googlecode.com/files/Rich.Internet.Applications.with.Adobe.Flex.and.Java.2007.eBook-NoGRP.pdf" target="_blank">Rich.Internet.Applications.with.Adobe.Flex.and.Java.2007.eBook-NoGRP.pdf</a> 关于Flex和Java的教程。</li>
<li class="category"><a  title="Wrox-Adobe.AIR.Create.Modify.Reuse,Apr.2008.pdf" href="http://riahome-download-001.googlecode.com/files/Wrox-Adobe.AIR.Create.Modify.Reuse.Apr.2008.pdf" target="_blank">Wrox-Adobe.AIR.Create.Modify.Reuse,Apr.2008.pdf </a> AIR开发教程。</li>
<li class="category"><a  title="大话设计模式.rar" href="http://easyphpchina.com/yboycn/RIAHome/download/da.hua.she.ji.mo.shi.rar" target="_blank">大话设计模式.rar </a> C#版的设计模式分析，写的挺生动的。</li>
</ul>
<h4>语言参考手册、帮助文档:</h4>
<ul style="list-style:none;">
<li class="category"><a  title="FlashCS3.Help.cn.chm" href="http://easyphpchina.com/yboycn/RIAHome/download/FlashCS3.Help.cn.chm" target="_blank">FlashCS3.Help.cn.chm </a> 中文版：Flash CS3的帮助文档。</li>
<li class="category"><a  title="Flex.3.Language.Reference.cn.chm" href="http://easyphpchina.com/yboycn/RIAHome/download/Flex.3.Language.Reference.cn.chm" target="_blank">Flex.3.Language.Reference.cn.chm</a> 中文Chm版：Flex 3的语言参考手册。</li>
<li class="category"><a  title="Flex.3.Language.Reference.cn_html.rar" href="http://easyphpchina.com/yboycn/RIAHome/download/Flex.3.Language.Reference.cn_html.rar" target="_blank">Flex.3.Language.Reference.cn_html.rar</a> 中文Html版：Flex 3的语言参考手册。</li>
<li class="category"><a  title="Flex.3.Language.Reference.en.chm" href="http://easyphpchina.com/yboycn/RIAHome/download/Flex.3.Language.Reference.en.chm" target="_blank">Flex.3.Language.Reference.en.chm</a> 英文版：Flex 3的语言参考手册。</li>
<li class="category"><a  title="Adobe.Flash.Media.Server.3.开发者向导.简体中文版.rar" href="http://riahome-download-001.googlecode.com/files/Adobe.Flash.Media.Server.3.%E5%BC%80%E5%8F%91%E8%80%85%E5%90%91%E5%AF%BC.%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%E7%89%88.rar" target="_blank">Adobe.Flash.Media.Server.3.开发者向导.简体中文版.rar </a></li>
</ul>
<h4>软件工具:</h4>
<ul style="list-style:none;">
<li class="category"><a  title="Flex3.Component.Explorer.rar" href="http://easyphpchina.com/yboycn/RIAHome/download/Flex3.Component.Explorer.rar" target="_blank">Flex3.Component.Explorer.rar </a> Flex3组件的使用说明。</li>
<li class="category"><a  title="Flex3.Style.Explorer.V3.0.Beta.swf" href="http://riahome-download-001.googlecode.com/files/Flex3.Style.Explorer.V3.0.Beta.rar" target="_blank">Flex3.Style.Explorer.V3.0.Beta.swf </a> 调试Flex3组件样式并生成CSS，推荐美工人手一本</li>
<li class="category"><a  title="正则表达式生成器Flex版.rar" href="http://riahome-download-001.googlecode.com/files/Online%20Flex%20RegExr%200.2.rar" target="_blank">正则表达式生成器Flex版.rar</a> 可以在线生成正则表达式，还有高亮显示。</li>
<li class="category"><a  href="http://sourceforge.net/projects/flexformatter/">http://sourceforge.net/projects/flexformatter/</a>Flex,Flash Builder,eclipse的as代码格式化插件</li>
</ul>
<h4>个人常用的几个第3方工具:</h4>
<ul style="list-style:none;">
<li class="category"><a  class="external" target="_blank" href="http://code.google.com/p/as3corelib/">ActionScript 3.0 library for several basic utilities</a> Adobe官方出的一个AS3corelib，里边包含了多个常用的类。</li>
<li class="category"><a  class="external" target="_blank" href="http://aswing.org/">Aswing</a> 一个轻量级的AS3框架。</li>
<li class="category"><a  class="external" target="_blank" href="http://puremvc.org/">Puremvc</a> 一个跨语言的MVC框架。</li>
<li class="category"><a  class="external" target="_blank" href="http://amfphp.org//">Amfphp</a> Flash和PHP的Action Message Format(AMF)接口。</li>
</ul>
<h4  class="related_post_title">Some Related Posts</h4><ul class="related_post"><li>2009/11/27 -- <a  href="http://nwhy.org/flash-new-knowledge-exchange-for-flexflashair-developers.html" title="Flash-New knowledge exchange for Flex/Flash/AIR developers">Flash-New knowledge exchange for Flex/Flash/AIR developers</a> (1)</li><li>2009/04/27 -- <a  href="http://nwhy.org/air-application-minimizedrag-and-exit.html" title="AIR-Application minimize,drag and exit">AIR-Application minimize,drag and exit</a> (0)</li><li>2009/11/07 -- <a  href="http://nwhy.org/air-fling.html" title="Air-fLing 小闹钟程序">Air-fLing 小闹钟程序</a> (3)</li><li>2009/11/04 -- <a  href="http://nwhy.org/flash-global-error-handling-in-air-2-0-and-flash-10-1.html" title="Flash-Global Error Handling in AIR 2.0 and Flash 10.1">Flash-Global Error Handling in AIR 2.0 and Flash 10.1</a> (0)</li><li>2009/05/27 -- <a  href="http://nwhy.org/aas3wdp-chapter-8-composite-1.html" title="AAS3WDP-Chapter 8 Composite 组合模式(上)">AAS3WDP-Chapter 8 Composite 组合模式(上)</a> (0)</li><li>2009/05/22 -- <a  href="http://nwhy.org/about-flash.html" title="About Flash">About Flash</a> (1)</li><li>2009/05/14 -- <a  href="http://nwhy.org/aas3wdp-virtual-proxy.html" title="AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式">AAS3WDP-Chapter 6 Virtual Proxy 虚拟代理模式</a> (0)</li><li>2009/05/05 -- <a  href="http://nwhy.org/as3-30-useful-open-source-projects.html" title="AS3-30+ useful open source projects">AS3-30+ useful open source projects</a> (4)</li><li>2009/05/04 -- <a  href="http://nwhy.org/air-login-application.html" title="AIR-远程登录验证Login Check">AIR-远程登录验证Login Check</a> (0)</li><li>2008/11/21 -- <a  href="http://nwhy.org/air-flextour.html" title="Air-flex tour">Air-flex tour</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://nwhy.org/some-as3-tools.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
