That fixed it.  Now on to try and get a List to work with the arraylist.

From: Carlos Rovira [mailto:[email protected]]
Sent: Wednesday, September 30, 2020 10:26 AM
To: [email protected]
Subject: Re: [EXTERNAL] Re: How do I convert complex JSON to an ArrayList?


This message was sent from outside of Boeing. Please do not click links or open 
attachments unless you recognize the sender and know that the content is safe.




Also more info about it in royale docs here:

https://apache.github.io/royale-docs/create-an-application/optimizations/compiler-configuration-settings.html#dynamic-access-unknown-members

El mié., 30 sept. 2020 a las 17:23, Carlos Rovira 
(<[email protected]<mailto:[email protected]>>) escribió:
Hi Warren,

you probably are missing the following compiler option:

-js-dynamic-access-unknown-members=true;

to access JSON subobject graphs in release mode

Let us know if that solves the problem

Thanks

El mié., 30 sept. 2020 a las 13:35, wkoch 
(<[email protected]<mailto:[email protected]>>) escribió:
I used both the 0.9.7 and the 0.9.8 build ( I pulled that down yesterday ). I
am attaching a file of the source code and console output from the debug and
release builds using 0.9.8.

It fails in both builds.  In the IE inspector I get:

Unable to get property 'Ng' of undefined or null reference
JewelExampleJS.mxml (33,4)

which in the source code is

label_parse.text=myArrayList[2].MDL_NM;

JewelExampleJS.txt
<http://apache-royale-users.20374.n8.nabble.com/file/t177/JewelExampleJS.txt>



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


--
Carlos Rovira
http://about.me/carlosrovira



--
Carlos Rovira
http://about.me/carlosrovira

Reply via email to