I realised we don't have a thread like this so I am starting one.
Post here any tiny problems that you're still working out that you don't feel warrant a whole thread. Got a syntax error somewhere and can't locate it? Etc.
Does FileTest.exist?() always return false when the file specified is located in the Game.rgssad?
You should be using just player->function() or player->member
My guess is that Sprite is not a pointer and that is why it's complaining on that line. If you post your Player class I should be able to show you where.
Hmm, that's odd. At first glance, it looks like the first thing you did should work. I will try some stuff, but codepad.org is down right now. For reference, something like codepad.org is a good place to go so that you can isolate some simple code to represent one thing that you suspect may be causing an issue.
As a side note, I recommend you do not name something the same as the class. Naming it sprite or m_sprite or something like that is better. The namespace means that you can do it, however, namespaces aren't meant for you to intentionally name things the same. Instead, it is so that when you are using multiple libraries, they may have the same name since a lot of different libraries will use the same name for different things. (for example std::vector is a dynamic array, but in other libraries, a vector may represent a math vector)
Only thing that looks odd is the single quotes on error_logs