2006-01-24から1日間の記事一覧
例えば、以下のようなクラスを作ります。 class VarTest extends MovieClip { var i:Number = 0; function VarTest() { var scope:Object = this; this.onEnterFrame = function() { scope.i++; trace(scope.i); }; } } MCシンボルを作って、"リンケージプロ…
例えば、以下のようなクラスを作ります。 class VarTest extends MovieClip { var i:Number = 0; function VarTest() { var scope:Object = this; this.onEnterFrame = function() { scope.i++; trace(scope.i); }; } } MCシンボルを作って、"リンケージプロ…