No. CCSprite does not save the file name.
But, as you noticed, you can hang everything you want from the userData property - make sure that you manage your life correctly. Other options are to use a subclass or composition with CCSprite and other game classes so that you can track additional data.
source
share