Notice: The content on this site is totally my personal opinion, which is NOT related in any way to my corporation and employers. If you find some stuffs upset, please feel free to leave comments [here] or email me on kentwoo [at] gmail.

Wednesday, August 15, 2007

Javascript: Number <--> UTC

<script>
document.write(
(new Date(112345920*1000)).toUTCString());
document.write(Date.UTC(2007, 06, 07)/1000);
</script>

Attention:



  1.  The month is ZERO-based while invoke UTC.
  2. Millisecond, other than Second, is the functions variables

Reference: Date reference from w3schools.

Labels: ,

Wednesday, June 13, 2007

Debugging with Flash Debug Player version 9

A Flash Debug Player is shipped together with Flex SDK. Whatever, for version 9, something is different from the earlier versions in the configuration. The links below provide very perfect tutorials step-by-step. 

And, an Adobe official link to test the Flash Player version installed.

The official download page for all kinds of Flash Debug Players

And, an add-on for Firebox (Flash Debug Player needed)

Flex SDK提供了一個Flash Debug Player,但是版本9的配置方法和網路上不少介紹的不盡相同。下面的鏈接有很好、很詳細的介紹:

下面的鏈接可以用于檢測安裝了的Flash Player的版本號:

各種Flash Debug Players的官方下載頁:

一個給Firebox 的插件(要先安裝Flash Debug Player)

    Labels: , , , , ,

    Thursday, January 11, 2007

    XAML and WPF

    Some guys came to present the coming design suite: Microsoft Expression. The demos are really cool! From the technical point of view,  the WPF is the base of that, and XAML is used as the standard file format. The suite seems a powerful tool to develop flash-like web pages and applications. It support 3D modeling, vector graphics. The well interaction with Visual Studio makes it good tool to connect designer and developer. So far, the WPF/E objects need a plugin installed on the browser. The installation will start automatically on the browser at the first time browsing a page containing WPF/E object. Furthermore, a bigger patch is needed for a WPF application. Whatever, it has been included in the .NET 3.0 framework.

    To produce very cool UI effects is the main target of WPF. Some good demos and applications can be found here:  the Yahoo Messenger for Vista, the New York Times Reader.

    Related links: XAML.net, MyXaml

    今天有一个关于新产品的演示,是即将上市的设计套件:Microsoft Expression。非常酷!它基于WPF技术,采用了XAML格式。利用这套工具可以开发出和flash类似的网页应用和普通应用程序。它支持三维建模,矢量图。它可以和Visual Studio进行交互,这样就可以很好地将设计人员与开发人员联系在一起。现在,浏览带WPF/E的对象需要浏览器下载一个插件,这个可以自动进行。而如果要运行WPF的应用程序的话,则需要.NET 3.0框架的支持。

    WPF的主要目标是提供很酷的界面效果。网上有一些很好的演示,也有成型的产品:Yahoo Messenger for Vista(Yahoo为Vista开发的新版Messenger),New York Times Reader(纽约时报的电子阅读器)。

    相关链接:XAML.net, MyXaml

     

    del.icio.us tags: , , , , , ,

    Technorati tags: , , , , , ,

    Labels: , , , , , ,