Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92FD09DCB for ; Fri, 24 Feb 2012 06:41:50 +0000 (UTC) Received: (qmail 7928 invoked by uid 500); 24 Feb 2012 06:41:50 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 7766 invoked by uid 500); 24 Feb 2012 06:41:49 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 7757 invoked by uid 99); 24 Feb 2012 06:41:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 06:41:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of omarg.developer@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 06:41:41 +0000 Received: by werc1 with SMTP id c1so1289486wer.6 for ; Thu, 23 Feb 2012 22:41:21 -0800 (PST) Received-SPF: pass (google.com: domain of omarg.developer@gmail.com designates 10.216.138.7 as permitted sender) client-ip=10.216.138.7; Authentication-Results: mr.google.com; spf=pass (google.com: domain of omarg.developer@gmail.com designates 10.216.138.7 as permitted sender) smtp.mail=omarg.developer@gmail.com; dkim=pass header.i=omarg.developer@gmail.com Received: from mr.google.com ([10.216.138.7]) by 10.216.138.7 with SMTP id z7mr444650wei.16.1330065681777 (num_hops = 1); Thu, 23 Feb 2012 22:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mhd1DYOE6f2lKrP3lTwWyLksMfOSZHXyPn5+9v2L+kI=; b=D1OJ9RaPOILnoqeaSAYpz44WxJFtZ9Uv1iC6Ibiy7HZIlwWO2Smq9q/bZrhbAjpXk8 xbpfJJO5s/vARnvyF15nqFf4PrvOECcA/zp7x8PGIF12hNrvs4XxHOjOmtAHg2b6dXG+ Jug+Ss7p6WpYzSSDxBETa8U1uyJWL+55gxutU= MIME-Version: 1.0 Received: by 10.216.138.7 with SMTP id z7mr360679wei.16.1330065681729; Thu, 23 Feb 2012 22:41:21 -0800 (PST) Received: by 10.180.162.14 with HTTP; Thu, 23 Feb 2012 22:41:21 -0800 (PST) In-Reply-To: References: <4F472018.2080803@leichtgewicht.at> Date: Thu, 23 Feb 2012 22:41:21 -0800 Message-ID: Subject: Re: [CODE] Short cleanup From: Omar Gonzalez To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6d975ef7cc80104b9b00ca4 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d975ef7cc80104b9b00ca4 Content-Type: text/plain; charset=ISO-8859-1 I believe "in" works only on dynamic classes, like plain Object. You have to use hasOwnProperty() when the key is declared as a member of a class, or a 'sealed class'. At least that's how it works in loops. -- Omar Gonzalez s9tpepper@apache.org Apache Flex PPMC Member --0016e6d975ef7cc80104b9b00ca4--