Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FF3F1181E for ; Fri, 5 Sep 2014 09:14:23 +0000 (UTC) Received: (qmail 69552 invoked by uid 500); 5 Sep 2014 09:14:23 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 69515 invoked by uid 500); 5 Sep 2014 09:14: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 69503 invoked by uid 99); 5 Sep 2014 09:14:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 09:14:22 +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 (athena.apache.org: domain of megharajdeepak@gmail.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 09:14:18 +0000 Received: by mail-ie0-f174.google.com with SMTP id at20so13534125iec.33 for ; Fri, 05 Sep 2014 02:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ylAov40tVTNqi0dX6jsvGfQ5sKEA10D/aGkfu/A2598=; b=sOZTcmy9YtglIbskhjWlICwhNEAMKg1f+J3lWbnEXmjvSGVTVtNQhxP134MGdvN7mF AlSUNuK/G6b/lmoTEG/HicZHqXXjKQMI+AdOb8hY1wMX//SRedeZj1eKLbdW69cvJ/Lw lh1oz5Ew0N9xWJA1F7OUwsQSWvWBryH7QA8en1mXJZxS9CMOeHLEcyog+k1RlmXF3ZuB kkWzggIb4j7dze7/aOKWKTXtPpQvfE+ksNH/dWA8gmHZGUrDJlYRjLwjAwO005hCXNYG KtX0YOdiQiG/dYgieIZMo5ienLkIOt+d15LHkoudvs01U/g/AeXHHvHsjPm5rtzf/H7i 6Inw== MIME-Version: 1.0 X-Received: by 10.42.25.141 with SMTP id a13mr12637199icc.37.1409908437711; Fri, 05 Sep 2014 02:13:57 -0700 (PDT) Received: by 10.64.1.83 with HTTP; Fri, 5 Sep 2014 02:13:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Sep 2014 14:43:57 +0530 Message-ID: Subject: Re: Lineseries tooltip on mobile From: Deepak MS To: "users@flex.apache.org" Content-Type: multipart/alternative; boundary=20cf3043515a98821e05024de3c3 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3043515a98821e05024de3c3 Content-Type: text/plain; charset=UTF-8 I added that piece under measure. But still, onClick method isn't getting called. On Fri, Sep 5, 2014 at 2:40 PM, Justin Mclean wrote: > Hi, > > >>> public function DataPointRenderer() > >>> { > >>> super(); > >>> width = 20; > >>> height = 20; > >>> addEventListener(MouseEvent.CLICK, onClick); > >>> addEventListener(TouchEvent.TOUCH_TAP, onClick); > >>> > >>> addEventListener(MouseEvent.MOUSE_OVER, onOver); > >>> } > > > Not closely checked the code or tried it out but setting width, height and > adding event listeners is not normally done in a constructor, you may have > to wait until the component is initialised. > > Thanks, > Justin --20cf3043515a98821e05024de3c3--