Can a flash application (SWF) access the serial data on a USB port?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maybe 🙂
Flash alone cannot handle that.
As far as I can think of you can either:
Use a socket server (written in java,c#, etc.) that will access the serial data and send it to flash. You could use a Binary Socket or an XML Socket, depending on how you write the socket server. WiiFlash uses a socket server and there are sources avaialable, might be a good start.
Make an AIR application and use the Native Process API to another application that will send the data.
It might a bit off, since there are a bit outdated, but have a look at flOSC
and for some reason serial data/usb make me think of arduino, make checkout arduino2flash.
Can you explain what decive you’re trying to get data from ?