Multiplayer Card Game

I’m working on a card game. This card game is played with 4 player.

I haven’t read much about how to build a multiplayer flash game. I just wanted to get a taste and inform me about it. Let’s consider that the card game is poker.

Am I gonna need a server rather than creating P2P connections?

If so, are all basic classes like dealing cards, existing cards on the table etc need be ON the server?

Is server gonna be coded in actionscript as well?

I’m a little bit confuse. I would be glad to help me out with this.