flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OmPrakash Muppirala <bigosma...@gmail.com>
Subject Re: Different properties names at runtime
Date Wed, 13 May 2015 19:55:41 GMT
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 <markzolotoy@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message