猫粮的菠萝阁 2010是自动化年

8七/090

牛X的Flash在线代码编辑器

发布在 CaTFooD

看到这个在线应用的时候我彻底震惊了...惊讶了...
传送门:http://www.victordramba.com/?p=31
特别提醒,用了高效的作为它的UI组件哦

标签:,
1七/092

这次是来推荐dropbox的

发布在 CaTFooD

首先,我们来审视一下什么人需要使用dropbox。
dropbox是什么?不知道的就先去瞧瞧

http://www.xflex.cn/blog/archive/2009/05/10_tips_to_save_your_time.html

其实dropbox就像一个svn,它也有版本管理,也可以把一个目录共享给人家;
最重要的是,它还带有完善的版本管理,很强悍的访问速度,下载>200K 上传>200K 而且如果服务器已经有存在的文件,你这边就不需要上传了(俗称秒传),这项技术在QQ的超大文件中也有应用;
就是说,如果你以前使用svn来管理自己的文档,代码,现在可以尝试迁移至dropbox,它访问速度相当可以,无需自己搭建svn服务器(当然如果你使用免费的svn服务那无话可说),而且一切都是自动的,不需要自己手动commit和update,一切都是最新的。
我现在主要用在以下三个方面
1.文档的同步和共享
最近 tech day的ppt,还有天地会培训的讲义,都是通过它来同步,在公司写一点,在家里写一点,dropbox帮我处理得相当棒。同时共享给协作者,他们要改的话也是很方便的一件事
2.程序的同步
我..把常用的开发工具..eclipse editplus flexsdk flashdeveloper 等等经常用到的都放去dropbox了,90%都是秒传,重装系统什么的,只要再次同步就可以了,程序的设置都保存在自己的文件夹里面,对于我来说实在是太舒坦了
3.代码的同步
其实以前我一直不知道原来dropbox还有版本管理...现在知道了,我决定把我的代码库丢上去,这样也就不会出现家里的代码什么的和公司的不同步的囧况了...
接着下面是推广链接…

https://www.getdropbox.com/referrals/NTExMTE5Mjg5

有需要的人就把它弄去浏览器里面访问,安装客户端就可以了

标签:, , , ,
13三/090

Comparing escape(), encodeURI(), encodeURIComponent()

发布在 CaTFooD

Found a good post which details the differences between escape(), encodeURI() and ().

http://www.browzor.com/blog/?p=44

标签:, , , ,
12三/090

AS3 Speed tests

发布在 CaTFooD

AS3 Speed tests:

http://osflash.org/as3_speed_optimizations

标签:, ,
11三/092

Particularly nasty bug in Flash/Firefox using WMODE opaque or transparent

发布在 CaTFooD

Setting to opaque or transparent for in Firefox will cause serious problems for user input where the keyboard being used to input is not US-english.

This problem seems to affect all versions of in all versions of Firefox. Tested with 9.0.28 through 10.0.12.36 on FF 3.0.3

:
https://bugzilla.mozilla.org/attachment.cgi?id=237019

Why:
https://bugzilla.mozilla.org/show_bug.cgi?id=347185
------- Comment #37 From Jeff Mott 2008-09-02 10:59:10 PST -------
Please check the earlier comments.  The root issue is that when the player is
in windowless mode, we do not recieve WM_CHAR events from Firefox.  We simulate
them based on key down events, which is why we lose the keyboard mapping.
Someone needs to change Firefox so that it will send us WM_CHAR events in
windowless mode.

Effect:
What we get is an emulated US keyboard layout. For those of us who might be using AZERTY keyboards (France) the output from typing is nonsense.
After testing it with Jiagao, we see that Chinese input is ignored! Big nasty problem...

Consequences for us:
Where user input is required, this conditional code should be removed, unless you really only want people with US keyboards to participate.

Reference:
https://bugs.adobe.com/jira/browse/FP-105
https://bugzilla.mozilla.org/show_bug.cgi?id=347185
https://bugzilla.mozilla.org/attachment.cgi?id=237019

标签:, , , , ,
11三/090

(un)documented NetrStream.onFI callback

发布在 CaTFooD

contains a special built-in handler, onFI, that subscribing clients can use in their ActionScript code to access timecode information. The following client-side ActionScript code shows how to get timecode information using the onFI handler. The object ns is the NetStream object. You can get timecode information by accessing the tc member of the info object that is passed as an argument to onFI():

?View Code ACTIONSCRIPT3
ns.onFI = function(infoObj){
    var timecode:String;
    for( i in infoObj)
    {
        if(i == "tc")
        timecode = infoObj.tc; //string formatted HH:MM:SS:FF
    }
}

Also see http://74.125.95.104/search?q=cache:rhViejkzZk8J:www.adobe.com/support/documentation/en/flashmediaencoder/2/FME_Timecode_Clientside_Addedum.pdf+%22onFI%22+actionscript&hl=en&ct=clnk&cd=2&gl=us&client=firefox-a

Thanks, Skyler for finding this useful bit of Arcana.

标签:, , , , , ,
11三/090

Image Viewer for Flash player 10

发布在 CaTFooD

While I was experimenting with Player 10, found myself creating an Image Viewer.

标签:, , , ,
6三/090

Using Conditional Compilation For ActionScript3

发布在 CaTFooD

In order to add automation test code into projects without affecting them, we can use conditional compilation. It was really new and i think few people know about it.

It’s a very useful option for developing and testing, and easy for us to deploy different edition of product.

标签:, , , , , ,