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 A9628987B for ; Fri, 6 Jan 2012 00:04:20 +0000 (UTC) Received: (qmail 34889 invoked by uid 500); 6 Jan 2012 00:04:20 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 34848 invoked by uid 500); 6 Jan 2012 00:04:20 -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 34839 invoked by uid 99); 6 Jan 2012 00:04:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 00:04:20 +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 (nike.apache.org: local policy) Received: from [64.13.192.22] (HELO cl13.gs01.gridserver.com) (64.13.192.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 00:04:10 +0000 Received: from cpc2-dals8-0-0-cust400.hari.cable.virginmedia.com ([77.101.169.145]:35956 helo=[10.0.1.2]) by cl13.gs01.gridserver.com with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.69) (envelope-from ) id 1RixHh-00034W-Fk for flex-dev@incubator.apache.org; Thu, 05 Jan 2012 16:03:49 -0800 Message-Id: <430DD221-CFC9-414E-8D15-95490AC7AC55@tink.ws> From: Tink To: flex-dev@incubator.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: IView & ViewNavigator Date: Fri, 6 Jan 2012 00:03:46 +0000 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 know I'm jumping the gun here but.... On Adobe's 4.6 list there seemed to be a decent amount of interest in having an IView interface for use with the mobile navigators instead of them being typed to View. It seemed strange to me that Adobe choose to extend SkinnableContainer for the View class for the following reasons. 1. You create instances of containers, and add elements to them. With mobile navigators, they create the instance, so 99% of people are extending view, it might as well be a Group, as you won't be using Skin Parts. 2. If you are using Skin Parts, you'd want a SkinnableComponent, not a container. Both these reduce the DisplayObjects required. I just don't see a user case for the heaviest option, a container, that no-one uses as a container, and is what your stuck with as there is no interface. With that in mind I put the necessary classes together for this. I have an IView interface implemented throughout, although there is a need here and there to cast to UIComponent for access to properties and methods behing the mx_inernal namespace. So I have a custom NavigationStack SlideViewTransition View (implements IView) ViewDescriptior ViewNavigator ViewNavigatorBase ViewTransitionBase and added GroupView IView SkinnableComponentView would this sort of stuff be of interest, or should I continue to push this stuff into my own open source lib? Tink