You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Jim McNamara <ro...@yahoo.com> on 2022/06/06 23:14:10 UTC

not recognizing AMFBinaryData

Hi Greg, Heidra, andYishay,

var bd:AMFBinaryData ;

/home/megatron/apache-royale/royale-asjs/examples/mxroyale/HelloWorld/src/main/royale/HelloWorld.mxml(102): col: 16 Error: Type was not found or was not a compile-time constant: AMFBinaryData.

var bd:AMFBinaryData = new AMFBinaryData();

/home/megatron/apache-royale/royale-asjs/examples/mxroyale/HelloWorld/src/main/royale/HelloWorld.mxml(119): col: 17 Error: Access of possibly undefined property bd.

         str1 = bd.readUTFBytes();

I think I am losing my mind! I don't know why my compiler hates me. I am glad I have pills for that.

I am using maven to compile.

I don't know how I could receive an array from PhP with this set up but first I'd like to see if I can at least get a string back. I am using php_amf3 to send the data.

thanks,
jim