Look up Object.hasOwnProperty() http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html#hasOwnProperty()
Thanks, Om On Wed, May 13, 2015 at 12:52 PM, mark goldin <[email protected]> wrote: > I have an item renderer whose data might be something like this: > > data.countryName or > > data.CountryName > > In order to make it work I have to validate data.countryName and if it > exists use it or go with data.CountryName. > > Is there more sophisticated way of compensating for lousy server code? > > Thanks >
