I've been using air server to do this for about a year now
Basically Airplay allows you to mirror your Mac screen to your TV via the AppleTV. But Airplay requires the built-in graphics of the Sandy Bridge chipset which is not on Macs older than 2011 (I think).
Enter AirParrot from http://airparrot.com
__._,_.___
.
__,_._,___