Posts Tagged ‘Script’
Programming with sockets seems to be an intimidating venture for many developers. However, with AS 3 and Node.js, it really isn’t too difficult. In this tutorial you will set up a simple socket server using Node.js and connect to it with a Flash-based client. When the project is complete, you’ll be able to see data being transmitted from Flash to the server and back to Flash again - Booyah!
The while loop is one of the basic looping structures in any programming language. It performs admirably, but how many times have you been bitten because you forgot to increment your counter? Chances are it's happened more than once; it's ok, it happens to all of us...but not anymore. (more...)