Download the XBOX 360 Gamepad Server to get up to four XBOX 360 controllers talking to Flash ActionScript 3. To run the server you need XNA 2.0, .net 2.0, Adobe Flash CS3 or greater, and either a wired XBOX 360 controller or a wireless controller and the wireless controller receiver.
The C# socket server allows Flash to retrieve the XBOX 360 controllers values through the new binary sockets and ByteArray functionality of ActionScript 3. The server runs on a windows machine, polls the connected controllers, bundles their values into a packet and sends it across the network to a connected client. The packets just contain binary data, so this can be used with any client, but example code is provided for Flash. Because it runs as a socket server, you can get the controllers into Flash on a mac or linux machine. The example code includes a manager class that handles the network connection to the socket server and provides XNA stlye functionality in Flash - for example: manager.getState(1).LeftStick.x; will give the x value of the left stick on the first controller.
Download the full source code including C# Visual Studio solution and example Flash code.
Download the compiled server and example Flash code.
Please note that the example Flash code does not work successfully in the browser or the standalone player yet. It only works inside the Flash IDE due to security sandboxing imposed by Flash. Furthermore unless ipv6 is disabled in Vista, Vista will have compatibility issues with the socket server due to Vista defaulting sockets to ipv6. These issues will be addressed when I get time.
When you find bugs or if you have any questions please post here.