Flex - 讓圖片(Image)可以單向放大縮小

2008/03/24

只要將 Image 的 maintainAspectRatio property 設為 false,圖片即可單向放大縮小,而不是依照等比例來放大縮小。

另外要設定 scaleContent 的 property 設成 "true" 圖片才能放大縮小。


一些Flex入門文件

2008/03/23

ActionScript 3 Design Patterns

Flex 3 API

Flex 3 官方文件

Flex 3 特色介紹


當您使用 Visual C# . NET 使用 CookieContainer 來維護狀態在 Web 服務

在編寫 WebService 的時候,根據預設值, ASP . NET 工作階段支援之每一個 Web 服務方法已關閉。 您必須明確地啟用工作階段之每一個 Web Service 方法需要工作階段狀態支援。 若要啟用工作階段支援, WebMethod 屬性 (Attribute) 加入 EnableSession 屬性。 如果要執行這項操作,只要於 [WebMethod] 加入 EnableSession Attribute 即可
Example:



 [WebMethod(EnableSession = true)]
public int Counter()
{    int count;
    if (Session["count"] == null)
    {
        count = 1;
    }
    else
    {
        count = (int)Session["count"] + 1;
    }
    Session["count"] = count;
    return count;
}




PureMVC 文章

2008/03/22

From Cairngorm to PureMVC : a quick comparison | Flex My Day

Handling deferred view component creation within the PureMVC framework

PureMVC_Implementation_Idioms_and_Best_Practices.pdf

Flex 框架比較投影片
https://admin.adobe.acrobat.com/_a200985228/p12266504/


SQL Server Management Studio Express 設定如何讓其他使用者連線

2008/03/20

先開啟SQL Server Configuration Manager→Protocols for SQL EXPRESS→TCP/IP→內容



程式 . 生活 . D小調.@2010 | Binary Design: One Winged Angel.