s] Re: AS - adding dynamic properties to an object
Is this the answer to the age old question of 'Who's on first?' :)
-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 10:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: AS
Is this the answer to the age old question of 'Who's on first?' :)
-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 10:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: AS - adding dynamic properties to an object
terator(reallyARecordSet);
Or something to that effect.
- Original Message -
From: "Ben Elmore" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 04, 2005 10:15 PM
Subject: RE: [flexcoders] Re: AS - adding dynamic properties to an object
A quick way to do it (ugly admittedly
A quick way to do it (ugly admittedly) is to use the 'instanceof' or
'typeof' operator.
if ( obj[propertyName] instanceof Date )
You might need to cast into number or date before you check the instance of
to see if it is valid.
-Original Message-
From: viraf_bankwalla [mailto:[EMAIL
On Apr 5, 2005 1:20 AM, viraf_bankwalla <[EMAIL PROTECTED]> wrote:
> While I can do an object.propertyName in AS to create the property
> with a known name, I do not know the property name till runtime
> (specified in the dataset that I receive), and did not know how to
> create the property at r
5 matches
Mail list logo