Gir, be a bit nicer - I've had reports about you being "confrontational".
As for the coding, I am a *very* amateur flash coder myself, and I'd code it something along these lines (not ActionScript, just what it does):
1. If the Spin button is clicked, check spinning is allowed, and if so, play a movieclip or tween on each slot
2. At the end of each tween, generate a random number, from a list of card IDs in the deck (eg fire bolt is 1, Ice bolt is 2, etc.), and log that. Display the picture that is from tha card with that ID in the related slot.
3. If the first two random numbers are the same, add one to the coin payout.
4. If they are all the same, win the card with that ID.
5. Save the results to a PHP file, or something along those lines.
6. Decrease allowed spins by 1.
If Spin All is clicked, repeat the above for the number of times that is equal to the number of spins remaining.