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 024B79557 for ; Fri, 16 Mar 2012 20:27:46 +0000 (UTC) Received: (qmail 74264 invoked by uid 500); 16 Mar 2012 20:27:46 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 74227 invoked by uid 500); 16 Mar 2012 20:27:46 -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 74219 invoked by uid 99); 16 Mar 2012 20:27:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 20:27:46 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=FH_FROMEML_NOTLD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.70.64.24] (HELO n04.mail01.mtsvc.net) (216.70.64.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 20:27:39 +0000 Received: from cl35.gs01.gridserver.com ([64.13.192.44]:34088) by n04.mail01.mtsvc.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S8dk6-00048R-1T for flex-dev@incubator.apache.org; Fri, 16 Mar 2012 16:27:18 -0400 Received: from [2.27.109.196] (port=56745 helo=[192.168.0.5]) by cl35.gs01.gridserver.com with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.69) (envelope-from ) id 1S8dk3-0004IA-Mw for flex-dev@incubator.apache.org; Fri, 16 Mar 2012 13:27:16 -0700 Message-Id: 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: MobileAlert - quetwo Date: Fri, 16 Mar 2012 20:27:13 +0000 References: <4F608EBF.5060007@dot-com-it.com> <3C66C415-073F-47FE-A323-DD0EDDBEF89F@classsoftware.com> X-Mailer: Apple Mail (2.936) X-Authenticated-User: 2993 flex@tink.ws X-MT-ID: bb8a738c1102c0d59e5a6340d45afffc3e50cb64 X-Virus-Checked: Checked by ClamAV on apache.org On 16 Mar 2012, at 20:20, Jonathan Campos wrote: > On Fri, Mar 16, 2012 at 3:14 PM, Tink wrote: > >> One thing I would like to see implemented in the new >> SkinnablePopUpContainer, and added to the PopUpSkinnableContainer, >> is the >> ability to center the popup, and keep it centered. They should also >> contain >> the metadata for the modal styles so they can be set inline. > > > My one problem with the SkinnablePopups is they use a function called > updatePosition (or something like that) to position themselves. This > seems > okay, but what if you want to be able to give 1 popup multiple > places to > popup (based on user input). To solve this I've long since extended > the > SkinnablePopups to include additional parameters similar to the > callout's > functionality. Then the updatePosition (or whatever) function uses > those > parameters to position itself. > > I'd probably push to add a few positioning parameters to the > SkinnablePopups. > > -- > Jonathan Campos You mean relative positioning to another component, or providing a series of absolute x and y positions? If you mean positioning relative to components, I have a layout (layouts should position stuff) for positioning popups relative to other components, that supports the same positioning s a Callout (the code in Callout is pretty bad, layout all over the shop), and it also supports the ability to control the positioning of a pointer as well. It's a little strange how it works as you use the layout in the popup skin, and it actually positiongs the content and the arrow, not the component or the skin itself. I dig it out and provide an example. Tink