Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 74D79200B70 for ; Sat, 27 Aug 2016 18:28:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7356A160AB0; Sat, 27 Aug 2016 16:28:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E038A160A93 for ; Sat, 27 Aug 2016 18:28:23 +0200 (CEST) Received: (qmail 43596 invoked by uid 500); 27 Aug 2016 16:28:23 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 43581 invoked by uid 99); 27 Aug 2016 16:28:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2016 16:28:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4C92218023E for ; Sat, 27 Aug 2016 16:28:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.188 X-Spam-Level: **** X-Spam-Status: No, score=4.188 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.022, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id e0PWE-GY3Ed7 for ; Sat, 27 Aug 2016 16:28:20 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id DB7445FB36 for ; Sat, 27 Aug 2016 16:28:19 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 66752422983BA for ; Sat, 27 Aug 2016 09:28:17 -0700 (MST) Date: Sat, 27 Aug 2016 09:26:26 -0700 (PDT) From: CodeGirl To: users@flex.apache.org Message-ID: <1472315186874-13436.post@n4.nabble.com> Subject: EventListener null reference error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sat, 27 Aug 2016 16:28:24 -0000 I have an options panel. I have a panel which I display an image with the options from the options panel. The Options panel has a Tab Navigator for different categories of Options. In the parent of both panels, I have my event listeners for all my options. The problem is that my event listeners for the Navigator Tabs which are not selected keep giving me a null reference error. Since the tab is not selected yet, the MXML Component has not yet been created hence the null reference error. How do I get around this? -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/EventListener-null-reference-error-tp13436.html Sent from the Apache Flex Users mailing list archive at Nabble.com.