<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[flexrhythm的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/flexrhythm</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; flexrhythm]]></copyright><item><title><![CDATA[Goole Font API]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696741</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696741</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 23:56:00 +0800</pubDate><description><![CDATA[<br />目前 Google Labs 开放了 Google Font API，把 Open Source Font 做了个集合。The Google Font Directory提供了使用Google Font API可以包括在你的页面中使用的高质量Web字体。Google Font API的好处包括：可以在高质量的开源字体中去选择可以工作在大多数浏览器上相当容易使用<br />应用一个字体是很简单的：仅仅只需加入一个特需的样式表链接到你的Web页面中，尔后在CSS样式中使用该字体。<br />下面是一]]></description><category></category></item><item><title><![CDATA[Tips for working with time zone in flex app]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696479</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696479</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 20:37:00 +0800</pubDate><description><![CDATA[<br />1. Understand how date and time are determined by flex (player on the client machine)<br />From flex doc we can see: <br />"The Date class lets you retrieve date and time values relative to universal time (Greenwich mean time, now called universal ti]]></description><category></category></item><item><title><![CDATA[从命令行中运行Ant脚本]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696152</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696152</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 17:11:00 +0800</pubDate><description><![CDATA[<br />在用eclipse上的可视化Ant工具时有时会出现编译不了的情况，是不是程序有错误？如果程序有错误这种情况也会发生，为了找出错误我们需要在命令行
下编译ant脚本。为了在命令行下编译ant脚本，我们需要把Eclipse上的ant工具路径C:/sw/eclipse/plugins
/org.apache.ant_1.7.0.v200803061910/bin;添加进系统变量path上去，这样我们就可以直接在命令行下输入
ant脚本而不需要添加路径。在命令行下运行ant脚本时，我们发现有时候在]]></description><category></category></item><item><title><![CDATA[AIR应用程序的安装目录和保存数据的目录的表示]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696146</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696146</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 17:07:00 +0800</pubDate><description><![CDATA[<br />AIR应用程序安装后，为了能够更新软件，我们可以在打包应用程序的时候创建一个conf目录并把更新配置文件updatConfig.xml放进去，在
ant脚本的adt打包task上加上-C ${FLEX_SRC}/conf/updateConfig.xml 
conf/updateConfig.xml这条命令就可完成检测软件更新的功能。在程序中，我们可以用app:/conf
/updateConfig.xml来引用AIR安装后的conf/updateConfig.xml文件,例如
appU]]></description><category></category></item><item><title><![CDATA[AIR国际化问题]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696142</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696142</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 17:05:00 +0800</pubDate><description><![CDATA[<br />原本以为AIR国际化会和Flex应用程序的国际化有些不同，没想到在和同事做AIR国际化时发现AIR的国际化和Flex程序的国际化如出一辙，几乎没
有任何不同。在Flex上的国际化问题，可以几乎不改动什么代码就可以完全迁移到AIR上来。在做AIR国际化的问题中，我们发现AIR根本就没有加载国
际化的SWF文件，这样一来我们就发现了问题的所在。接着我们尝试去解决加载问题，在试验了几次后我们把国际化相关的几个SWF文件放到AIR的安装目录
下，这时奇迹出现了，AIR程序开始有了国际化语言。在接下]]></description><category></category></item><item><title><![CDATA[Flex组件的一些怪问题]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696129</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696129</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 17:01:00 +0800</pubDate><description><![CDATA[<br />Flex的大部分组件提供了measureText()方法，我们可以用此方法来计算字符串的实际需要的像素也就是字符串的宽度。此方法非常有用，因为当
一个组件不可见的时候我们是不能简单的通过他的宽度属性来获取组件的宽度的，此时通过宽度属性获取的宽度为0，这样在一些需要获取不可见组件的宽度的应用
中，我们可以通过计算他的孩子组件的宽度来估计该组件的宽度，例如Button组件的宽度，可以通过用measureText()方法来计算Button
上的字符串的长度来估算。measureText()方法用]]></description><category></category></item><item><title><![CDATA[Flex 4 List Data Paging(Flex 4 List控件分页功能的实现)]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696128</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696128</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 17:00:00 +0800</pubDate><description><![CDATA[<br />要想了解Flex 4 List控件的分页功能(paging)的实现,必须先理解Flex 4中滚动机制的实现原理,可以参考我上次介绍的Flex 4中的Scrolling和viewports机制这篇文章。下面从Spike
的代码开始介绍List控件分页功能(paging)的实现：
<br /><?xml version="1.0" encoding="utf-8"?><br />
<s:Application 
xmlns:fx="http://ns.adobe.com/mxml/2009"]]></description><category></category></item><item><title><![CDATA[Flex 4中的Scrolling和viewports机制]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696106</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696106</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 16:52:00 +0800</pubDate><description><![CDATA[<br />Flex 4提供了一个所有可滚动的组件都必须实现的接口IViewport,并通过Scroller的scrollbars来滚动Viewport. 
Flex 4的这种滚动机制可以减少程序的开销和大小，因为大多数容器不需要滚动条或滚动功能。<br />
     
IViewport接口定义了一个可滚动的窗口来每次显示大组件的一部分，Scroller提供了一对水平和垂直滚动条来移动Viewport的坐标原
点。<br />
    IViewport接口定义了如下主要属性：width, h]]></description><category></category></item><item><title><![CDATA[Flex 4 List itemClick的实现]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5696091</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5696091</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 16:47:00 +0800</pubDate><description><![CDATA[<br />在Flex 3中List控件有itemClick事件，但是到了Flex 4中Spark 
List控件却没有itemClick事件。是不是Spark List提供了和itemClick事件功能或作用差不多的事件呢？翻阅Flex 4 
List的参考文档也没发现和itemClick事件相当的事件或属性，但是Flex 4 List中的change事件和Halo 
List中的change时间似乎有所不同，于是乎想用spark List中的change事件来模拟itemClick事件，却发现并没]]></description><category></category></item><item><title><![CDATA[ Flex多SWF文件加载之Applicatoin Domain]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695912</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695912</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 15:04:00 +0800</pubDate><description><![CDATA[概要<br />当我们加载外部swf时，必须要了解应用程序域(Application 
Domain)。从Adobe官方文件中，我们可以得知应用程序域能够把处于同一个安全域(Security 
Domain)中的类分离开，这样就可以让一个类的多个定义共存，或是让多个子应用来共享父应用的类定义。简单点理解就是应用程序域为类定义提供了分区功
能。应用程序域<br />一个类的多个定义共存：内存中有多个类，它们名称相同，但定义不同定义，由于处于不同的应用程序域，所以互不干扰，得以共存。<br />子应用共享]]></description><category></category></item><item><title><![CDATA[Flex打开QQ聊天窗口]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695885</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695885</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:44:00 +0800</pubDate><description><![CDATA[如果需要打开你的好友QQ窗口来聊天的话，可以使用navigateToURL方法：很简单：navigateToURL( new  
URLRequest( ‘tencent://message/?uin=450176993’ ), ’_blank’ );在浏览网页的时候见过这种情况，特别是在某些论坛里，旁边点用户的QQ头像，可以直接打开QQ来交流，如果QQ没启动的话，会弹出登录窗口来让你登
 录。]]></description><category></category></item><item><title><![CDATA[如何减小SWF文件的大小]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695883</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695883</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:43:00 +0800</pubDate><description><![CDATA[<br />1.关闭编译器的调式功能
默认情况下mxmlc编译器的debug选项是false，但是compc组件编译器的debug选项默认情况下却是true，在用compc编译 SWC的时候一定要把debug选项设为false,否则的话一些与debug相关的功能和代码会被编译进SWC文件中，从而增加了SWC中SWF文件的大小
<br /> <br />
2.检查依赖链接(Examming linker dependencies)
有时候我们会遇到这种情况：在使Flex项目模块化的过程中,我们会在主模]]></description><category></category></item><item><title><![CDATA[要想35岁以前成功 必备9大好习惯]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695871</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695871</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:34:00 +0800</pubDate><description><![CDATA[<br />导读：习惯的力量是惊人的。习惯能载着你走向成功，也能驮着你滑向失败。如何选择，完全取决于你自己。 <br /><br />
1.习惯的力量:35岁以前养成
好习惯 <br /><br />
你想成功吗？那就及早培养有利于成功的好习惯。 <br /><br />
习惯的力量是惊人的，35岁以前养成的习惯决定着你是否成功。
 <br /><br />
有这样一个寓言故事: <br /><br />
一位没有继承人的富豪死后将自己的一大笔遗产赠送给远房的一位亲戚，这位亲戚是一个常年靠乞讨]]></description><category></category></item><item><title><![CDATA[思念永无止境]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695862</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695862</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:31:00 +0800</pubDate><description><![CDATA[<br />When you waved goodbye to me, I had no idea whether to leave you
eternally. Missing you has become indispensable part of my life. I have
the faintest idea whether you share the same feelings with me.
Something like love is provoking my deepest emo]]></description><category></category></item><item><title><![CDATA[人的生命只有一次]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695861</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695861</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:30:00 +0800</pubDate><description><![CDATA[<br />There are moments in life when you miss someone so much that you just
 want to pick them from your dreams and hug them for real! 
<br />       Dream what you want to dream; go where you want to go; be what
 you want
to be, because you have only o]]></description><category></category></item><item><title><![CDATA[ the Daffodil principle]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695858</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695858</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:27:00 +0800</pubDate><description><![CDATA[<br />Several times my daughter had telephoned to say, "Mother, you must come
to see the daffodils before they are over. "I wanted to go, but it was
a two-hour drive from Laguna to Lake Arrowhead "I will come next
Tuesday", I promised a little reluctant]]></description><category></category></item><item><title><![CDATA[Creating a hand cursor over a component]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695853</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695853</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:23:00 +0800</pubDate><description><![CDATA[Problem Summary
		
		<br />How do I change the mouse cursor to a
 hand when the mouse is over a particular Label or other component?
  	
		Solution Summary
	<br />Set three properties on the 
component: useHandCursor=true, buttonMode=true, and mouse]]></description><category></category></item><item><title><![CDATA[Error creating AIR file: Could not generate timestamp: Connection timed out]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695843</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695843</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:18:00 +0800</pubDate><description><![CDATA[当用adt打包AIR程序时，可能会遇到Error creating AIR file: Could not generate 
timestamp: Connection timed out: connect这个问题。 在adt的命令参数中有一个-tsa 
url的选项用于产生AIR文件的时间戳。adt这个打包工具是用java语言编写的，如果在打包air文件的时候没有指定-tsa选项，则会用默认的https://timestamp.geotrust.com/tsa
作为url来产生时间戳，所以当你断网]]></description><category></category></item><item><title><![CDATA[ Flex和AIR之间的转化]]></title><link>https://blog.youkuaiyun.com/flexrhythm/article/details/5695836</link><guid>https://blog.youkuaiyun.com/flexrhythm/article/details/5695836</guid><author>flexrhythm</author><pubDate>Sat, 26 Jun 2010 14:15:00 +0800</pubDate><description><![CDATA[<br />在开发RIA应用程序的时候，为了方便客户我们有时候需要将Flex程序转化成AIR程序，这样用户就不需要每次都在浏览器中输
入URL了，直接点击桌面上的AIR程序图标就可以快速进入RIA应用程序。AIR程序也给了我们开发人员一些灵活性，方便我们获取用户的文件系统，这在
有的情况下是非常重要的。为了把业已完成的Flex程序转化成AIR程序，我们只需要在已有的Flex程序中，把你的主mxml文件复制一下，然后把
root 
tag<mx:Application>改为<mx:WindowedAp]]></description><category></category></item></channel></rss>