Hi, all !
I am using the Sprite.js in my project and have met a problem on changing the textureAsset when the sprite is clicked. I just did like this :
If you look in the code of sprite library, you will find that it does not handles texture updates dynamically.
You could set it’s texture property to actual texture, which is musicIcon.resource in your case.