One of the animation technique using classic motion tween in Adobe Animate. Create a motion guide that has desired colors on the stroke as required & use 'color along path' property of tween. Object not just follow the path on motion guide, but also applies tint as per the color on the path.