On 3/7/16, 9:38 PM, "santanu4ver" <[email protected]> wrote:
>Alex Harui wrote >> It may be that if you have a ValueObject linked into the app, you can >>just >> take the HTTPService.data or HTTPService.json, make sure it is an array, >> and instantiate an ArrayList with that array. I'm not clear whether you >> are actually getting the same data or json in the cross-compiled version >> as you are in the SWF version. If not, we need to figure that out >>first. > >What we were trying to do is looking into HTTPService.json property and >generate our ValueObjects by looping through the array of elements inside >HTTPService.json. I think that is the most convenient process for us at >this >moment and a game-changer for us at this moment. BUT, as I've mentioned in >my previous post, when run as HTML - HTTPService.json or HTTPService.data >availability is not parallel to all platforms. Here is our test matrix: > >- Available in MacOS Safari >- Not available in ANY other browsers than Safari in MacOS >- Not available in FF or Chrome browsers in Windows >- Available to IE in Windows only after enabling ActiveX when prompted > >(Tested OSX versions were Yosemite and 10.7.5) > Is HTTPService.json not working in the bin/js-debug version as well as the bin/js-release? Does a network monitor show the same data being returned from the server as in the SWF version? Also, try the DataBindingExample in examples/flexjs. It works for me on MacOSX Safari, Firefox and Chrome. Thanks, -Alex
