This is NOT advisable. I've done exactly this (on specifically Party, at that) and it's going to be a major head-ache when they realize that the name on the credit card doesn't match the name of the person withdrawing the money. Make no mistake, depositing is easy. It's cashing out that's going to be a problem for you.
Don't do it.
/FP
Edit: I realize that I might come off as committing credit card fraud because I didn't specify the circumstances under which I deposited with someone else's credit card. Not to worry though, I had very good reason to use Lori's credit card. The reason was specifically that I didn't actually have my own credit card at the time (I was waiting for a new one to arrive in the mail) and since both of our cards are connected to the same bank account (mine) I figured that it didn't matter which one I used.
... Of course, Party Poker had no way of seeing that Lori's credit card was drawing money out of my bank account, so I had a bit of an issue when I wanted to cash out. I haven't actually gone back to Party since, but perhaps I ought to get that mess cleared up at some point. Heh.