There are several tutorials on this in the tutorials forum.

Here are the links:

http://www.antionline.com/showthread...hreadid=134679
http://www.antionline.com/showthread...hreadid=247437