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

20七/092

在Adobe Tech Day的演讲稿

发布在 CaTFooD

首先感谢it168的编辑们如此辛劳的工作,这里的内容全部从
http://tech.it168.com/focus/200907/adobetechday/index.shtml
中抄过来的,再次感谢。如果对此有任何疑问…就随便把

大家好,我今天为大家介绍一下。首先我想问大家一个问题,今天在座的有谁听过请举手?人很多。有谁用过来开发项目的呢?人不是很多。我会通过这次演讲为大家带来更多的资料,以及对更加深刻的讲解。

标签:, , ,
7七/090

最近演讲通知

发布在 CaTFooD

很荣幸地得到了天地会和adobe的信赖,得以在7.16这天对进行介绍。这次我讲从总体对进行介绍。关于这次大会的介绍链接:

http://www.adobechinadeveloper.com/developerday/Shanghai/richeng.html

因为是星期四,估计很多朋友都无法参加,我会在演讲结束后把ppt放上来,供大家下载..

标签:, ,
1七/092

这次是来推荐dropbox的

发布在 CaTFooD

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

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

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

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

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

标签:, , , ,
12三/090

Vista 64, Ant, MXMLC, Java/JVM, problem and solution

发布在 CaTFooD

If you encounter problems running the ant builds on vista 64 and see this error in the Flex Builder console:

Error: could not find JRE

Error: could not find 2 Runtime Environment.

This may be because you installed the latest 64bit .

The fix:

- Download the latest version of the JRE 1.5 release (1.6+ doesn't seem to work)

- Edit C:\Program Files ()\Adobe\Flex Builder 3\sdks\3.2.0\bin\jvm.config

- Set .home to:

.home=C:/Program Files ()//jre1.5.0_17

Other symptoms that you might encounter include:

Error: could not find a JVM

Error loading: C:/Program Files//jre1.5.0_17\bin\server\jvm.dll

Hope this saves someone some time.

标签:, , , , ,
11三/092

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

发布在 CaTFooD

Setting to opaque or transparent for Flash in 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 Flash in all versions of . 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 .  We simulate
them based on key down events, which is why we lose the keyboard mapping.
Someone needs to change 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

Flash 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 Flash Arcana.

标签:, , , , , ,
6三/090

Using Conditional Compilation For ActionScript3

发布在 CaTFooD

In order to add automation test code into flash 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.

标签:, , , , , ,