I've been messing around with Flash making so that I can watch a live video stream from a webcam by requesting the JPEG's from a server application I have written. This works fine by using the MovieClip.loadMovie(theURL); method and I can watch the stream at 25fps. At this point I should point out that I'm not exactly a pro when it comes to flash.
The reason I have been messing around with flash is to see whether I can use it to replace and EXE I wrote that does the same thing, requests JPEG's from the server app, and it appears that flash can do everything I can currently do in the EXE, with one difference, encryption.
The current EXE receives and encrypted stream via its TCP connection from the server app, which is then decrypted and used to create the Image object. The current algorithm I am using is CAST 128. What I would like to know is first how do I receive a stream and then load that into some form of image object so that I can display it (via TCP if possible), and then how do I add a decryption algorithm to it so that I can receive and decrypt the data and then make an image out of it?
Hope that makes sense?!