RE: [flexcoders] How to test if an object contains a certain property?

2009-11-12 Thread Gordon Smith
if ("item" in objADGLD) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thomas parquier Sent: Thursday, November 12, 2009 5:10 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to test if an object

Re: [flexcoders] How to test if an object contains a certain property?

2009-11-12 Thread thomas parquier
objADGLD.hasOwnProperty('item') ? thomas parquier --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net téléphone portable : +33601 822 056 2009/11/12 Nick Middleweek > > > Hello, > > Does anyone know if it's possible to check if an object

RE: [flexcoders] How to test if an object contains a certain property?

2009-11-12 Thread Gregor Kiddie
Try http://livedocs.adobe.com/flex/3/langref/Object.html#hasOwnProperty%28%2 9 Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web