FlashOOPのクラス共有プロジェクト用に、Commandクラスライブラリを作ろうかと模索中。 というか仕事でもプライベートでも、自動化したい処理がやたらいっぱいあって、AS2でもAS3でも両方必要な気分になってきた。 作る前に考えまとめたいので、メモ。 Applyをラップして、任意のタイミングで任意の関数を呼び出すクラスを実装するとして、結城先生の本をベースにEventDispatcherを追加するとこんな感じかな?? public class Command implements ICommand extends EventDispatcher{ private var _thisObj:Object; private var _functionRef:Function private var _arguments:Array public function Command( _th