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 809BF10114 for ; Thu, 3 Apr 2014 15:28:45 +0000 (UTC) Received: (qmail 66842 invoked by uid 500); 3 Apr 2014 15:02:03 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 66385 invoked by uid 500); 3 Apr 2014 15:02:02 -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 66363 invoked by uid 99); 3 Apr 2014 15:02:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 15:02:00 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 15:01:56 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WVj8d-0005FJ-RX for users@flex.apache.org; Thu, 03 Apr 2014 08:01:08 -0700 Date: Thu, 3 Apr 2014 08:00:52 -0700 (PDT) From: derChris To: users@flex.apache.org Message-ID: <1396537252791-5971.post@n4.nabble.com> Subject: Cannot remove focus on spark.skins.mobile.TextAreaSkin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to remove the focus of a spark.skins.mobile.TextAreaSkin but this doesn't work... My Code: import de.assets.ChatTextFieldBackground; import de.assets.ChatTextFieldBackgroundBorder; import spark.skins.mobile.TextAreaSkin; public class LeagueBoardTextAreaSkin extends TextAreaSkin { private var background:ChatTextFieldBackground; public function LeagueBoardTextAreaSkin() { super(); measuredDefaultHeight = 50; setStyle("paddingTop", 10); setStyle("paddingBottom", 25); setStyle("paddingLeft", 10); setStyle("paddingRight", 10); setStyle("borderStyle", "none"); setStyle("borderSkin", null); setStyle("focusSkin", null); setStyle("focusAlpha", 0); setStyle("focusThickness", 0); setStyle("dropShadowEnabled", false); setStyle("dropShadowVisible", false); setStyle("dropShadowColor", 0x00FF00);setStyle("shadowDistance", 20); setStyle("highlightColor", 0x00FF00); setStyle("focusRoundedCorners", 20); setStyle("borderVisible", false); setStyle("errorSkin", null); setStyle("focusSkin", null); focusRect = null; } override protected function createChildren():void { super.createChildren(); background = new ChatTextFieldBackground(); addChildAt(background, 0); } /** * @private */ override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void { background.setLayoutBoundsSize(unscaledWidth, unscaledHeight); } override public function drawFocus(isFocused:Boolean):void { super.drawFocus(false); } Any idea what I have to do to get rid of the blue focus-highlight-dropShadow-Thing? Best regards, Christian -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Cannot-remove-focus-on-spark-skins-mobile-TextAreaSkin-tp5971.html Sent from the Apache Flex Users mailing list archive at Nabble.com.