3

I want to pass a byte array object from flex code to C code.How to do that?

Aaron
  • 2,013
  • 16
  • 22
karthick
  • 11,998
  • 6
  • 56
  • 88

3 Answers3

1

Passing a ByteArray from Flex to C++ http://nexus.zteo.com/blog/2008/12/22/adobe-alchemy-passing-a-bytearray-from-flex-to-c/

JabbyPanda
  • 872
  • 5
  • 13
1

Multiple approaches outlined here: http://blog.debit.nl/2009/03/using-bytearrays-in-actionscript-and-alchemy/

aaaidan
  • 7,093
  • 8
  • 66
  • 102
0

You can use AMF to pass an ActionScript ByteArray. So you're set on the Actionscript side. On the server side, there are slim pickings for AMF server implementations in C++. I use BlazeDS for Java, but the only one I can seem to find for C++ is AMFPP.

Scott
  • 16,711
  • 14
  • 75
  • 120
  • Scott I think you misunderstood the question. It is about Adobe Alchemy, a framework to compile C and C++ code to Flash bytecode, so this is a client-side only question. – nalply Apr 13 '11 at 14:29