之前有改參考這個程式改寫一個 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
2013年4月25日 星期四
2010年12月21日 星期二
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 哦
request.method = URLRequestMethod.GET;
而loader (我用的是URLStream) 要加上新的 EventListener HTTPStatusEvent.HTTP_RESPONSE_STATUS 哦
訂閱:
文章 (Atom)