Created
May 21, 2011 06:16
-
-
Save itoz/984301 to your computer and use it in GitHub Desktop.
シリアルリストにforでアドコマンド、iの取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _slist : SerialList = new SerialList(); | |
for (var i : int = 0; i < _arr.length; i++) { | |
_slist.addCommand(new Func( | |
function(i : int) : void{ | |
(_arr[i] as MyClass).fadeIn() | |
} | |
, [i]) | |
); | |
_slist.addCommand(new Wait(0.1)); | |
} | |
_slist.execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment