Skip to content

Instantly share code, notes, and snippets.

@itoz
Created May 21, 2011 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itoz/984301 to your computer and use it in GitHub Desktop.
Save itoz/984301 to your computer and use it in GitHub Desktop.
シリアルリストにforでアドコマンド、iの取得
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