利用 LocalConnection 類別做的工具。使用時,先開啟 ZDebugger.exe,滙入 lin.shinder.mdmzinc.ZTracer類別,接著用 ZTracer.print(你的訊息)。
下載:含原始碼及執行檔的壓縮檔。
2010-06-03
2010-04-16
MDM ZINC 3 雜記
最近使用 MDM ZINC 3 的雜記:
- 使用 AS2 時,SWF 發佈的版本必須為 for Flash Player 8 (含) 以下。
- AS2 類別檔使用到 mdm 時,宣告為 dynamic。
- AS3 Flash document class 一定要在 constructor 內呼叫 domdm.Application.init()。
- 載入其它 SWF 時,記得在主要的 Flash Movie 的最前面下 mdm.Flash.setSWFDir()。
- SQLite 無法存放中文,可以用 URL-encoded 解決(mdm 存入時不會自動轉換為 UTF-8)。
- SQLite 開啟資料庫時,檔案會自動建立。
- SQLite 判斷資料表是否存在用 "SELECT * FROM sqlite_master WHERE type='table' AND name='DB_TABLE'"。
- Firefox 的附加元件 SQLite Manager 相當好用。
- 中文輸入有問題,會變亂碼。
訂閱:
文章 (Atom)