<?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>Li Guoliang &#187; AIR</title>
	<atom:link href="http://liguoliang.com/category/flex/air-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://liguoliang.com</link>
	<description>ActionScript Flex Java JEE PHP...</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:44:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>AIR Error: invalid application descriptor: Unknown namespace/ versionNumber must have a non-empty value.</title>
		<link>http://liguoliang.com/2011/air-error-invalid-application-descriptor-unknown-namespace-versionnumber-must-have-a-non-empty-value/</link>
		<comments>http://liguoliang.com/2011/air-error-invalid-application-descriptor-unknown-namespace-versionnumber-must-have-a-non-empty-value/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 07:26:06 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2011/air-error-invalid-application-descriptor-unknown-namespace-versionnumber-must-have-a-non-empty-value/</guid>
		<description><![CDATA[Adobe AIR 最近一年升级火速, 去年1.5.3创建的Project使用高版本的SDK后会因为配置文件引发各类错误, 譬如:
<strong>Error1</strong>:&#160; Namespace 1.5.3 in the application descriptor file should be equal or <p class='read-more'><a href='http://liguoliang.com/2011/air-error-invalid-application-descriptor-unknown-namespace-versionnumber-must-have-a-non-empty-value/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2011/air-error-invalid-application-descriptor-unknown-namespace-versionnumber-must-have-a-non-empty-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR: NativeMenu Separator, 右键菜单分割线</title>
		<link>http://liguoliang.com/2009/air-nativemenu-separator-%e8%8f%9c%e5%8d%95%e5%88%86%e5%89%b2%e7%ba%bf/</link>
		<comments>http://liguoliang.com/2009/air-nativemenu-separator-%e8%8f%9c%e5%8d%95%e5%88%86%e5%89%b2%e7%ba%bf/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 02:26:11 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Air Menu]]></category>
		<category><![CDATA[Air右键]]></category>
		<category><![CDATA[NativeMenu Separator]]></category>
		<category><![CDATA[菜单分割线]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2009/03/838/</guid>
		<description><![CDATA[菜单中的分割线： 通过将 NativeMenuItem 构造函数中的 isSeparator 属性设置为 true 创建一条分隔线。
		_menu = new NativeMenu();
		_menuAddTopOU = new NativeMenuItem(RM.getString(BUNDL<p class='read-more'><a href='http://liguoliang.com/2009/air-nativemenu-separator-%e8%8f%9c%e5%8d%95%e5%88%86%e5%89%b2%e7%ba%bf/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2009/air-nativemenu-separator-%e8%8f%9c%e5%8d%95%e5%88%86%e5%89%b2%e7%ba%bf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在线安装AIR 及 Error# 2032错误解决方法</title>
		<link>http://liguoliang.com/2009/%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85air-%e5%8f%8a-error-2032%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://liguoliang.com/2009/%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85air-%e5%8f%8a-error-2032%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 15:33:54 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AIR发布]]></category>
		<category><![CDATA[AIR网页安装]]></category>
		<category><![CDATA[Error #2032]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2009/03/818/</guid>
		<description><![CDATA[找到．．．\sdks\3.2.0\samples的badge目录，修改default_badge.html文件：
AC_FL_RunContent(
		'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swf<p class='read-more'><a href='http://liguoliang.com/2009/%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85air-%e5%8f%8a-error-2032%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2009/%e5%9c%a8%e7%ba%bf%e5%ae%89%e8%a3%85air-%e5%8f%8a-error-2032%e9%94%99%e8%af%af%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR中通过右键直接选定基于LIST容器[DataGrid, List, Tree等]的数据 &#8211; Select List item with mouse right-click</title>
		<link>http://liguoliang.com/2009/air%e4%b8%ad%e9%80%9a%e8%bf%87%e5%8f%b3%e9%94%ae%e7%9b%b4%e6%8e%a5%e9%80%89%e5%ae%9a%e5%9f%ba%e4%ba%8elist%e5%ae%b9%e5%99%a8datagrid-list-tree%e7%ad%89%e7%9a%84%e6%95%b0%e6%8d%ae-select-list-ite/</link>
		<comments>http://liguoliang.com/2009/air%e4%b8%ad%e9%80%9a%e8%bf%87%e5%8f%b3%e9%94%ae%e7%9b%b4%e6%8e%a5%e9%80%89%e5%ae%9a%e5%9f%ba%e4%ba%8elist%e5%ae%b9%e5%99%a8datagrid-list-tree%e7%ad%89%e7%9a%84%e6%95%b0%e6%8d%ae-select-list-ite/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 15:18:16 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Air右键]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[Flex右键]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[Tree]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2009/01/675/</guid>
		<description><![CDATA[在很多情况下, 我们在DataGrid, List, Tree等容器中使用右键, 进行如修改, 删除 某行的操作.  问题是如果该容器初始状态下直接进行右键点击时, 并不能选定任何数据. 通过监听右键菜单SELECT事件, 获取到当前右键所击位置的Index, 并将之赋值给DataGrid或其他容器的SelectIndex, 完成点击操作<p class='read-more'><a href='http://liguoliang.com/2009/air%e4%b8%ad%e9%80%9a%e8%bf%87%e5%8f%b3%e9%94%ae%e7%9b%b4%e6%8e%a5%e9%80%89%e5%ae%9a%e5%9f%ba%e4%ba%8elist%e5%ae%b9%e5%99%a8datagrid-list-tree%e7%ad%89%e7%9a%84%e6%95%b0%e6%8d%ae-select-list-ite/'></a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2009/air%e4%b8%ad%e9%80%9a%e8%bf%87%e5%8f%b3%e9%94%ae%e7%9b%b4%e6%8e%a5%e9%80%89%e5%ae%9a%e5%9f%ba%e4%ba%8elist%e5%ae%b9%e5%99%a8datagrid-list-tree%e7%ad%89%e7%9a%84%e6%95%b0%e6%8d%ae-select-list-ite/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AIR中使用:程序菜单,上下文菜单,右键菜单</title>
		<link>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8%e7%a8%8b%e5%ba%8f%e8%8f%9c%e5%8d%95%e4%b8%8a%e4%b8%8b%e6%96%87%e8%8f%9c%e5%8d%95%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95-use-window-menus-context-menus-pop-up-menus-in/</link>
		<comments>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8%e7%a8%8b%e5%ba%8f%e8%8f%9c%e5%8d%95%e4%b8%8a%e4%b8%8b%e6%96%87%e8%8f%9c%e5%8d%95%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95-use-window-menus-context-menus-pop-up-menus-in/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 03:51:49 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/10/279/</guid>
		<description><![CDATA[与窗口一样, 在一个AIR应用中, 菜单也是不可或缺的.
虽然在AIR中菜单有多种实现方式, 但是所有的Menu都是相同的,只是其实现方式不同而已,因此, 我们建立一个菜单, 使用不同的方式实现:    
var menuFile:NativeMenu = new NativeMenu();
//如<p class='read-more'><a href='http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8%e7%a8%8b%e5%ba%8f%e8%8f%9c%e5%8d%95%e4%b8%8a%e4%b8%8b%e6%96%87%e8%8f%9c%e5%8d%95%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95-use-window-menus-context-menus-pop-up-menus-in/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8%e7%a8%8b%e5%ba%8f%e8%8f%9c%e5%8d%95%e4%b8%8a%e4%b8%8b%e6%96%87%e8%8f%9c%e5%8d%95%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95-use-window-menus-context-menus-pop-up-menus-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR中关闭所有打开的窗口</title>
		<link>http://liguoliang.com/2008/air%e4%b8%ad%e5%85%b3%e9%97%ad%e6%89%80%e6%9c%89%e6%89%93%e5%bc%80%e7%9a%84%e7%aa%97%e5%8f%a3-close-all-opened-windows-in-air/</link>
		<comments>http://liguoliang.com/2008/air%e4%b8%ad%e5%85%b3%e9%97%ad%e6%89%80%e6%9c%89%e6%89%93%e5%bc%80%e7%9a%84%e7%aa%97%e5%8f%a3-close-all-opened-windows-in-air/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 02:18:34 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/10/271/</guid>
		<description><![CDATA[在AIR工程中, 如果新建某个窗口, 当关闭主窗口时, 新窗口并不随着主窗口的关闭而关闭, 但是在很多情况下. 我们需要在主窗口关闭时, 所有的子窗口都一起关闭. 
为了达到这个效果, 我们监听主窗口的Event.CLOSING事件, 当用户点击主窗口关闭按钮或是单击任务栏右键时, 我们采取一定措施<p class='read-more'><a href='http://liguoliang.com/2008/air%e4%b8%ad%e5%85%b3%e9%97%ad%e6%89%80%e6%9c%89%e6%89%93%e5%bc%80%e7%9a%84%e7%aa%97%e5%8f%a3-close-all-opened-windows-in-air/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/air%e4%b8%ad%e5%85%b3%e9%97%ad%e6%89%80%e6%9c%89%e6%89%93%e5%bc%80%e7%9a%84%e7%aa%97%e5%8f%a3-close-all-opened-windows-in-air/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AIR中窗口的关闭</title>
		<link>http://liguoliang.com/2008/air%e4%b8%ad%e7%aa%97%e5%8f%a3%e7%9a%84%e5%85%b3%e9%97%ad-close-window-in-air-application/</link>
		<comments>http://liguoliang.com/2008/air%e4%b8%ad%e7%aa%97%e5%8f%a3%e7%9a%84%e5%85%b3%e9%97%ad-close-window-in-air-application/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 02:00:12 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/10/268/</guid>
		<description><![CDATA[在默认情况下, AIR程序中已经被关闭的窗口不可以再次打开的.因此我们通过visible属性 来模拟打开关闭[ 没有关闭, 只是隐藏]:
以下代码新建了一个窗口, 并监听Event.CLOSING事件, 阻止默认行为, 使得用户在点击关闭窗口时,窗口只隐藏而不关闭, 当用户再次点击主窗口的&#822<p class='read-more'><a href='http://liguoliang.com/2008/air%e4%b8%ad%e7%aa%97%e5%8f%a3%e7%9a%84%e5%85%b3%e9%97%ad-close-window-in-air-application/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/air%e4%b8%ad%e7%aa%97%e5%8f%a3%e7%9a%84%e5%85%b3%e9%97%ad-close-window-in-air-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>略微总结下Air工程中的xml配置[描述]文件</title>
		<link>http://liguoliang.com/2008/%e7%95%a5%e5%be%ae%e6%80%bb%e7%bb%93%e4%b8%8bair%e5%b7%a5%e7%a8%8b%e4%b8%ad%e7%9a%84xml%e9%85%8d%e7%bd%ae%e6%8f%8f%e8%bf%b0%e6%96%87%e4%bb%b6/</link>
		<comments>http://liguoliang.com/2008/%e7%95%a5%e5%be%ae%e6%80%bb%e7%bb%93%e4%b8%8bair%e5%b7%a5%e7%a8%8b%e4%b8%ad%e7%9a%84xml%e9%85%8d%e7%bd%ae%e6%8f%8f%e8%bf%b0%e6%96%87%e4%bb%b6/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 15:55:11 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/10/264/</guid>
		<description><![CDATA[在Flex Builder中新建一个Air工程会自动产生一个对应的配置文件,[也许叫做描述文件会更加确切],&#160; 如新建一个名为&#34;AIRTest&#34;的工程, 则会产生一个&#34;AIRTest-app.xml&#34;的配置文件.&#160; 本文略加总结,&#160<p class='read-more'><a href='http://liguoliang.com/2008/%e7%95%a5%e5%be%ae%e6%80%bb%e7%bb%93%e4%b8%8bair%e5%b7%a5%e7%a8%8b%e4%b8%ad%e7%9a%84xml%e9%85%8d%e7%bd%ae%e6%8f%8f%e8%bf%b0%e6%96%87%e4%bb%b6/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/%e7%95%a5%e5%be%ae%e6%80%bb%e7%bb%93%e4%b8%8bair%e5%b7%a5%e7%a8%8b%e4%b8%ad%e7%9a%84xml%e9%85%8d%e7%bd%ae%e6%8f%8f%e8%bf%b0%e6%96%87%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Air中新建窗口 Create New Window In Air</title>
		<link>http://liguoliang.com/2008/air%e4%b8%ad%e6%96%b0%e5%bb%ba%e7%aa%97%e5%8f%a3-create-new-window-in-air/</link>
		<comments>http://liguoliang.com/2008/air%e4%b8%ad%e6%96%b0%e5%bb%ba%e7%aa%97%e5%8f%a3-create-new-window-in-air/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 09:16:55 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/10/263/</guid>
		<description><![CDATA[问题：在Air中新建一个窗口
代码实现:
在app初始化时执行以下函数,将新建并添加一个名为&#34;New Winidow Test&#34;,长宽分别为200的窗口:
private function init():void {
	newWindow = new Window();
	new<p class='read-more'><a href='http://liguoliang.com/2008/air%e4%b8%ad%e6%96%b0%e5%bb%ba%e7%aa%97%e5%8f%a3-create-new-window-in-air/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/air%e4%b8%ad%e6%96%b0%e5%bb%ba%e7%aa%97%e5%8f%a3-create-new-window-in-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR中使用SQLite新手入门</title>
		<link>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8sqlite%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8/</link>
		<comments>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8sqlite%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 02:24:00 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/09/88/</guid>
		<description><![CDATA[<p>[小站博客均为原创, 转载请保留以下信息:</p>
<p>作者:<a href="http://liguoliang.com" target="_blank">http://liguoliang.com</a> 欢迎访问:Adobe上海用户组: <a href="http://riashanghai.com " target="_blank">http://riashanghai.com </a>]</p>
<p>关于SQLite的介绍: <a title="http://www.ibm.com/developerworks/cn/opensource/os-sqlite/" href="http://www.ibm.com/developerworks/cn/opensource/os-sqlite/">http://www.ibm.com/developerworks/cn/opensource/os-sqlite/</a></p>
<h2>1. 确定连接模式</h2>
<p>首先要确定连接模式, 是asynchronous[异步], 还是synchronous[同步].</p>
<p>异步执行方式: 运行操作数据库的指令, 数据库在后台运行, 在操作结束或失败后会dispatch一个Event,由该Event激发后续代码继续运行.异步方式有一个明显的好处: 数据库的操作是在后台运行的, 而与此同时,你的主程序代码可同时运行. 更为重要的是, 你不能因为数据库操作没有结束而冻结用户窗口.</p>
<p>从概念上来讲, 使用同步方式要比异步方式简单一些, 因为同步方式的代码可以按照一个次序进行, 而异步方式主要通过EventListener.</p>
<p>同步执行方式: 除了异步执行方式之外, Adobe AIR 也支持同步方式, 但是对数据库的操作不在后台运行, 而是使用与主程序同一个线程.</p>
<p></p><p class='read-more'><a href='http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8sqlite%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/air%e4%b8%ad%e4%bd%bf%e7%94%a8sqlite%e6%96%b0%e6%89%8b%e5%85%a5%e9%97%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

