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 C742610718 for ; Wed, 2 Oct 2013 09:08:54 +0000 (UTC) Received: (qmail 55160 invoked by uid 500); 2 Oct 2013 09:00:48 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 55000 invoked by uid 500); 2 Oct 2013 09:00:11 -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 54772 invoked by uid 99); 2 Oct 2013 08:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 08:59:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maurice.amsellem@systar.com designates 66.129.85.153 as permitted sender) Received: from [66.129.85.153] (HELO smtp02.myhostedservice.com) (66.129.85.153) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 08:59:11 +0000 Received: from EXHUB03.netplexity.local (172.29.211.23) by smtp02.myhostedservice.com (172.29.211.12) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 2 Oct 2013 04:58:47 -0400 Received: from EXMBX05.netplexity.local ([fe80::cc58:cfe7:ba3b:fae]) by exhub03 ([172.29.211.23]) with mapi id 14.03.0146.000; Wed, 2 Oct 2013 04:58:49 -0400 From: Maurice Amsellem To: "users@flex.apache.org" Subject: RE: spark.skins.SparkButtonSkin -> Undefined state 'up' Thread-Topic: spark.skins.SparkButtonSkin -> Undefined state 'up' Thread-Index: AQHOvz/UxZfG50CXvUCtJJNwB5C8BpnhG4Fw Date: Wed, 2 Oct 2013 08:58:49 +0000 Message-ID: <2095F5EBE04D59409DFCE91FFCEBF7AF3F52BDF0@EXMBX05.netplexity.local> References: <3B222F2E298C7C45ACC98C05DCA6BECD4A1D6D3384@ECCR13PUBLIC.exchange.local> <4B24E8EB848A48248E013875548FA099@detlev> In-Reply-To: <4B24E8EB848A48248E013875548FA099@detlev> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.211.254] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Actually, SparkButtonSkin is an abstract skin class, so it does not have a= ny states and cannot be used directly. The default skin for "normal" buttons is spark.skins.ButtonSkin. If you want to customize the skin to add an icon, copy-paste the code from = ButtonSkin and customize it. Regards, Maurice -----Message d'origine----- De=A0: Frank Dahmen [mailto:frank@dahmenia.de]=20 Envoy=E9=A0: mercredi 2 octobre 2013 09:19 =C0=A0: users@flex.apache.org Objet=A0: spark.skins.SparkButtonSkin -> Undefined state 'up' Hi, i'm using got the error: Undefined state 'up'. do i have to to subclass SparkButtonSkin? (i want to put an icon on the Button) thanks