作者:Flying 日期:2007-06-15
原文出處:http://www.riafan.com/article.asp?id=80
我是在Flash cs 3和Flex Builder 2.01下測試的。
- util包應該爲utils;
- flash.dispaly.text包應該爲flash.text.TextField;
- Recipe 15.13.中沒有導入SoundMixer包;
- DataFormat.VARIABLES應該爲URLLoaderDataFormat.VARIABLES;
- Recipe 19.3.中_output.html = true的用法在AS3中已廢棄;
- Recipe 20.9.中total += price應該爲total += Number(price) ;
- 輔助類的修飾符不是private,應該是默認的interal
另外,Chapter 21中關於AS3整合Web Services 的用法有誤,mxml支持WebService,但AS3不支持WebService。
這本書是去年10份出版的,作者寫這本書時是用Flex Bulder 2.0來編譯的,現在軟件已經升級成Flex Builder 2.01,升級前後差別不少,這就造成了有的源碼編輯出錯。