View Single Post
  #2 (permalink)  
Old 05-17-2009, 10:57 PM
SWFKit SWFKit is offline
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
Default

It's automatic, so you need not do anything. For instance, if an activex component has a method like get(ByteArray data), you just need to do as follows
Code:
var ss = new StringStream;
ss.put(1);
ss.put(2);
...

// ss will be converted to a ByteArray by swfkit automatically.
x.get(ss);
Reply With Quote