當使用Flash CS3開發Flash lite2.x contents時,如果有操作Soft keys的語法而使用ExtendedKey.SOFT1 or ExtendedKey.SOFT2 ,在Test movie 就會發現Flash找不到ExtendedKey.as 而無法解譯成功,
最簡單的解決方法就是將Flash 8 內的ExtendedKey.as 複製到:
C:\Documents and Settings\使用者名稱\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes\FP7 即可!
或者直接copy下列語法另存新檔為ExtendedKey.as 存入上述位置: (其實只是傳入常數定義)
最簡單的解決方法就是將Flash 8 內的ExtendedKey.as 複製到:
C:\Documents and Settings\使用者名稱\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes\FP7 即可!
或者直接copy下列語法另存新檔為ExtendedKey.as 存入上述位置: (其實只是傳入常數定義)
//****************************************************************************
// ActionScript Standard Library (Mobile specific)
// ExtendedKey object
//****************************************************************************
intrinsic class ExtendedKey
{
static var SOFT1 :String = "soft1";
static var SOFT2 :String = "soft2";
static var SOFT3 :String = "soft3";
static var SOFT4 :String = "soft4";
static var SOFT5 :String = "soft5";
static var SOFT6 :String = "soft6";
static var SOFT7 :String = "soft7";
static var SOFT8 :String = "soft8";
static var SOFT9 :String = "soft9";
static var SOFT10 :String = "soft10";
static var SOFT11 :String = "soft11";
static var SOFT12 :String = "soft12";
}
Comments
Post a Comment