What steps will reproduce the problem?
// haXe but same behavior with AS
package ;
import com.eclecticdesignstudio.motion.Actuate;
import flash.Lib;
class Main
{
static function main()
{
var m:Main = new Main();
}
public function new()
{
Actuate.update(test, 1, [1],[10]).onComplete(function() trace('onComplete'));
}
function test(a)
{
trace(a + ' updated');
}
}
// traces
// ...
// onComplete
What is the expected output?
onComplete should fire last but there is a last funtion (test) call.
//traces
// ...
// 10 updated
// onComplete
What do you see instead?
onComplete fires just before last update
// traces
// ...
// onComplete
// 10 updated
Version 1.2.3
Original issue reported on code.google.com by bbau...@gmail.com on 19 Oct 2011 at 8:51
Original issue reported on code.google.com by
bbau...@gmail.com
on 19 Oct 2011 at 8:51