Dynamic 3d card animation

Hi,

I am making a game like Blackjack (Casino game). In lot of download versions of casino I have seen the card movement is in 3D means from one corner of the table to the player the card comes in smooth fly and flips and drops in front of player. The shadow of the card also follows it.

Now in my game there are different position for the players… so I can not do it thru tween animation. My idea is to have a class or function which will take the input of beginX and beginY and endX and endY and animate the card in such a way. I have tried different 3d techniques from different sites including this one… but was not able to do this.

Can any one give me some sample code or fla or guide me how to do this.

thanks in advance…
Amit