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 40BE096BD for ; Sat, 7 Apr 2012 16:05:44 +0000 (UTC) Received: (qmail 97289 invoked by uid 500); 7 Apr 2012 16:05:43 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 97255 invoked by uid 500); 7 Apr 2012 16:05:43 -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 97247 invoked by uid 99); 7 Apr 2012 16:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2012 16:05:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2012 16:05:38 +0000 Received: by obbuo13 with SMTP id uo13so4353326obb.6 for ; Sat, 07 Apr 2012 09:05:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=juvWNizstBO1DbQJqmi2W+3SEG7pnh3kmSBHi9bBO2I=; b=RN+ieTzvYVFNHYpAVD1vYCmPp6Auy/+f2zP0xDnMb1YaL3ux7BmT0X9ehHj4sHwJ6j ZdR9mhI9rVMa/I97VS82N9M+b3UraBP6s1YEIfFkNNbu1LSzAhDObQuIhq323Z1Hsm6G +9Gl7E+DIzw/k6QIiTSHDyJh8HifkE5ZTUyIky8Tj9gCNpD4kEIliuyeX6pLJSLfxaxj Q5cyBtxwDCJWYI2OarqM5RCcMrYMJ/qnFaRj1q+H+RAolaNN/lMMJUW0jrsXVpqSeb0/ q+EcKUPvhU/fRR6W9Fxm50VRhAhlNmApMLqhCrfTmQy0khbEl9Ckrw5z1ImZlP9TlQ80 KzeA== Received: by 10.182.51.9 with SMTP id g9mr2348144obo.56.1333814716865; Sat, 07 Apr 2012 09:05:16 -0700 (PDT) Received: from [192.168.1.4] (108-198-250-178.uvs.wlfrct.sbcglobal.net. [108.198.250.178]) by mx.google.com with ESMTPS id m2sm5378135obk.9.2012.04.07.09.05.14 (version=SSLv3 cipher=OTHER); Sat, 07 Apr 2012 09:05:15 -0700 (PDT) Message-ID: <4F8065B7.9010803@dot-com-it.com> Date: Sat, 07 Apr 2012 12:05:11 -0400 From: Jeffry Houser Reply-To: jeffry@dot-com-it.com Organization: DotComIt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: flex-dev@incubator.apache.org Subject: Re: FXGImage References: <4F7F1A2E.9040205@dot-com-it.com> <8A772923-9927-41E7-A653-2EDE402027D2@lndgrn.se> In-Reply-To: <8A772923-9927-41E7-A653-2EDE402027D2@lndgrn.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk5tCdlbuvWksAbDE7RWFlbp6ukysr5Cv0cYYBmNMYb+cD7xASVfB3THnA6TbHg51bLpTfp X-Virus-Checked: Checked by ClamAV on apache.org On 4/7/2012 9:53 AM, Erik Lundgren wrote: > Hi Jeffry! > > Saw your commit of the FXGImage! > Just out of curiosity (and checking my own understanding of FXG), when should I use the FXGImage? I really built it as a helper class. I did know it was usable directly in MXML, but it's been a while since I've tried that. I do not remember what limitations I Ran into with that approach. I didn't know it was turned into a SpriteVisualElement. I had no idea you could just create an FXG asset directly in ActionScript as a SpriteVisualElement. If it always worked like that; I completely missed it. In theory the same class I provided could be used to encapsulate library elements from a Flash Pro SWF; but I haven't tested that approach. The extra properties I have on the class (xOffset, yOffset, heightIncrement, and widthIncrement) actually exist because of problems I had with Flash Pro animations showing up in the wrong locations on different DPIs in mobile applications. This was a quick way to tweak the positioning. -- Jeffry Houser Technical Entrepreneur 203-379-0773 -- http://www.flextras.com?c=104 UI Flex Components: Tested! Supported! Ready! -- http://www.theflexshow.com http://www.jeffryhouser.com http://www.asktheflexpert.com -- Part of the DotComIt Brain Trust