Cant get animation.finishCallback working
-
I am on mobile since internet is down so I can't copy and paste.
When I write animation.finishCallback = "animationCallback"; it says String should be String -> Void
-
String->Void
is a function type. You need to assign a callback function. Example:animation.finishCallback = function(name) { trace("Animation with name " + name + " finished"); }
-
Got it working thanks