Skip to content

Instantly share code, notes, and snippets.

@itoz itoz/gist:984301
Created May 21, 2011

Embed
What would you like to do?
シリアルリストに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
You can’t perform that action at this time.