From flex-dev-return-5991-apmail-incubator-flex-dev-archive=incubator.apache.org@incubator.apache.org Fri Mar 2 09:42:38 2012 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 E59DE9E57 for ; Fri, 2 Mar 2012 09:42:38 +0000 (UTC) Received: (qmail 97017 invoked by uid 500); 2 Mar 2012 09:42:37 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 96905 invoked by uid 500); 2 Mar 2012 09:42:37 -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 96889 invoked by uid 99); 2 Mar 2012 09:42:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:42:36 +0000 X-ASF-Spam-Status: No, hits=0.8 required=5.0 tests=FH_FROMEML_NOTLD,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.13.192.21] (HELO cl12.gs01.gridserver.com) (64.13.192.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:42:30 +0000 Received: from cpc2-dals8-0-0-cust400.hari.cable.virginmedia.com ([77.101.169.145]:34236 helo=[10.0.1.3]) by cl12.gs01.gridserver.com with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.69) (envelope-from ) id 1S3P05-0005Gu-CM for flex-dev@incubator.apache.org; Fri, 02 Mar 2012 01:42:10 -0800 Message-Id: <3870D9A3-C95C-441E-8F12-C68FA5249A36@tink.ws> From: Tink To: flex-dev@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Missing Spark Components List Date: Fri, 2 Mar 2012 09:42:06 +0000 References: X-Mailer: Apple Mail (2.936) X-Authenticated-User: 2993 flex@tink.ws X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: "score=-1.4 tests=ALL_TRUSTED version=3.1.7" I'm with Jonathan on this I pushed for Adobe to remove HGroup and VGroup before the release of spark as I saw these as absolutely pointless. In spark we should use a container or data control and then add the required layout. There is no need to bake in layouts and expose their properties to the component, just pointless. Too late to removed HGroup and VGroup now, but please lets not add any more classes like this. It dums down what you can achieve with spark. Tink On 1 Mar 2012, at 17:35, Omar Gonzalez wrote: > On Thu, Mar 1, 2012 at 7:34 AM, Jonathan Campos > wrote: > >> On Thu, Mar 1, 2012 at 2:13 AM, Omar Gonzalez >> wrote: >> >>> I've added a page to the wiki to keep track of the current >>> inventory of >> MX >>> components, their Spark counterparts, and whether they are currently >>> missing. >>> >> >> I don't want to just go editing your work without some discussion, >> so I'm >> throwing the discussion here. There are some components that I >> don't see >> the need to be "spark'ed" nor do I consider them missing. >> Specifically: >> >> Grid (group + tilelayout) >> > I disagree here. We should have the convenience class, it makes things > easier to find and illustrates proper use of the framework and its > layout > objects. > > Also writing: > > > > > Is a lot less verbose than: > > > > > > > Plus it falls in line with the other convenience classes such as > and and it helps with migration for people > that > will immediately look to replace some MX layouts. > > > > >> LinkBar (button bar + skin) <- new skin could be made easily >> LinkButton (button + skin) <- new skin could be made easily >> > > Again, while creating skins that mimic LinkButton and LinkBar I > still see > that convenience classes can help here. Instead of subclassing > s:Button, > writing a custom skin class, adding a click listener and writing up a > navigateToUrl() this call all be conveniently wrapped into a > component u > can use like this: > >