View Single Post
  #23 (permalink)  
Old 04-23-2009, 09:46 PM
dmennenoh dmennenoh is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Default

OK, so while the control doesn't write the 0 if you use \x00, it will write it if you use StringStream like so:

Instead of this:
commx.writeStr("\xFE\x00");

You use this:
var ss = new StringStream;
ss.put('\xFE');
ss.put(0);
commx.write(ss);


Works a treat! Thanks to SwfKit's support for the answer! Really cool being able to turn on/off electrical devices from Flash!
Reply With Quote