openfl / actuate

Actuate is a flexible, fast "tween" library for animations in Haxe
MIT License
158 stars 66 forks source link

The onUpdate() example wasn't a working example, trace expects array [] #84

Closed nicanaca0 closed 7 years ago

nicanaca0 commented 7 years ago

Not a major issue but I choose onUpdate() out of all the possible methods and ran into issues with it. I didn't realise until I reviewed the docs a few times that the other items all pass trace a ["string"].

The errors;

Source/Main.hx:25: characters 21-36 : String should be Null<Array<Dynamic>>
Source/Main.hx:25: characters 21-36 : String should be Array<Dynamic>
Source/Main.hx:25: characters 21-36 : For optional function argument 'parameters'
jgranick commented 7 years ago

Awesome, thank you :smile: