顯示具有 flex 4 標籤的文章。 顯示所有文章
顯示具有 flex 4 標籤的文章。 顯示所有文章

2013年4月25日 星期四

Flex 3 Dashboard migrate to Flex 4

之前有改參考這個程式改寫一個 AIR的程式,今天有看到把 flex 3的程式碼改寫成 flex 4的,可以參考看看

Migrating Flex 3 applications to Flex 4.5 – Part 1: Importing the Flex 3 Dashboard application into Flash Builder 4.5

Migrating Flex 3 applications to Flex 4.5 – Part 2: Beginning migration of the Dashboard application to Flex 4.5

Migrating Flex 3 applications to Flex 4.5 – Part 3: Introducing Spark components and simple skins

Migrating Flex 3 applications to Flex 4.5 – Part 4: Using Spark Panel, List, DataGrid, and VGroup components and adding custom skins and states

2010年12月21日 星期二

Flex 4 owner 與 parent的區別


最近才在寫 Flex 4的程式,跟 3有很大的不同,其中一個就是元件屬性 parent
以前就很直覺得就用這個屬性,但 4使用skin 之後就不一樣了,所以必需使用 owner這個屬性囉

2010年12月3日 星期五

Flex 4 上使用 URLRequest 的注意小地方

如果你原本用Flex Builder 3開發程式有使用 URLRequest ,而且執行上沒問題,但如果用Flex Builder 4 使用相同的程式碼,但執行確碰到 HTTP 405 的訊息的話,請檢查是不是在設定 URLRequest method 上使用了 POST ,請改為 GET再執行一次,應該就可以了

 request.method = URLRequestMethod.GET;

而loader (我用的是URLStream) 要加上新的 EventListener HTTPStatusEvent.HTTP_RESPONSE_STATUS 哦