DaVikingCode / Citrus-Engine

Modern AS3 Game Engine
http://citrusengine.com/
Other
549 stars 231 forks source link

Extremely minor bug report #277

Closed jonhuang closed 8 years ago

jonhuang commented 8 years ago

Sorry, I really should do this as a pull request but I'm not very good at git. In SpriteArt.as, if you add the line:

var anim:String = _animation; _animation = null; animation = anim; to the if statement on line 207 "if (tmpObj is MovieClip)"

it fixes the rare edge case where two movie clips are loaded with the same animation name, resulting in the animation not autoplaying. Thanks for all your work on CE!