pinastro : in fact you want to listen to a Neurosky BCI ? <img src="smileys/smiley2.gif" border="0" align="middle" />
For what I now, a Flash swf can't access COM port (you need to use an AIR app, so outside the browser).
However, if you self-sign a Java applet, you can listen to a COM port. That JAva applet can talk with Javascript after that to transmit avlues to C2.