added return value for AnimatedSprite::loadFromFile