I'm facing now a new issue.
I can load now my report engine with 0 console errors and I can export to PDF now (passing the byte array from JS to AS3 and save from there).
The report requires 2 variables: a xml string that represents the report layout and a json string that represents the data.
I can load the xml (using inject function) sucessfully and see the layout rendered on the screen.
But when I pass the json data, I have issues.
If I fill the json from an html text input ouside of the ANE, I can see the data on the report.
If I do the same thing inside the ANE I get an EOF console error.
If I try to inject the json from AS3 > JS, I also got errors.
From the ANE debug tool, I think that inside the ANE the ( " ) characteres are replaced by ( \" ) that not representes a valid json, so the error.
Do you know any issue related with ( " ) and I should to make a special treatment inside my html file (for example replace all \" to " or there is a better way to do ?
I would like to avoid save the json string to a file on AS3 side and reload on JS file.