Warren,

Just to make clear here - if something doesn't work in release mode it is
possible that is issue in Royale compiler. In order to chase it we need
extracted working example/code and maybe zipped build - raise issue on
GitHub.

This is definitely not an issue in Moonshine itself.

Please use Nightly build - do you use?

Thanks,
Piotr

On Wed, Sep 30, 2020, 2:36 AM wkoch <[email protected]> wrote:

> I changed my code like this based on what you folks indicated.
>
> public var myObj:Object;
> public var myArrayList:ArrayList;
>
> private function appInit():void{
>         registerClassAlias('org.apache.royale.collections.ArrayList',
> ArrayList);
> }
> private function resultCallback(event:Event):void{
>  label_status.text =  daveservice.json.STATUS;
>  label_all.text = daveservice.data;
>  label_pgm.text =  daveservice.json.PROGRAMS[1].MDL_CONCAT;
>  myObj = JSON.parse(daveservice.data);
>  myArrayList = new ArrayList(myObj.PROGRAMS);
>  label_parse.text=myArrayList[2].MDL_CONCAT;
> }
>
> The label_parse got the right text so it appears I'm making progress.  I'd
> be interested in learning about those "ways".
>
> Now the only issue is the Moonshine one -- debug version works on the
> server.  The release doesn't
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>

Reply via email to