《碼上就會:Flash 8專業版ActionScript進階應用》第二章的編排錯誤

讀者池明政先生來信,提到《碼上就會:Flash 8專業版ActionScript進階應用》第二章中的編排錯誤(光碟範例程式是正確的),謝謝您的指教。

2-30 頁的第一張圖裡面的程式:

Selection.setFocus(ans_txt);
Selection.setFocus(0, ans_txt.length);

應改為:

Selection.setFocus(ans_txt);
Selection.setSelection(0, ans_txt.length);

2-34 頁的圖亦同。

2-37 頁程式碼第三行編排錯誤:

returnn*n*n;

應改為:

return   n*n*n;
Posts created 468

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top