What library should I use to communicate with a Flash client?

PubNub supports Flash directly via the PubNub API for Flash.