Anyone know how to utilize cookies properly?

I'm familiar with the setcookie() function but how do I get flash to read what is in the cookie? do I use the echo() function?

I basically have a PHP voting script at my site: http://www.theCYNTER.com and I want to keep naughty users from voting more than once.

thanks!

dave