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 D004310912 for ; Thu, 31 Oct 2013 12:03:00 +0000 (UTC) Received: (qmail 35429 invoked by uid 500); 31 Oct 2013 12:03:00 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 35203 invoked by uid 500); 31 Oct 2013 12:03:00 -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 35194 invoked by uid 99); 31 Oct 2013 12:02:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 12:02:59 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of javi.gg@gmail.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-la0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 12:02:55 +0000 Received: by mail-la0-f50.google.com with SMTP id ec20so2234745lab.9 for ; Thu, 31 Oct 2013 05:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=F2tVAAkdQVIyuHTMsgJzURBnNXn4eWUneBQjjb2oudg=; b=ysTxw6AqRhQQ4cBLfVRWF0VWQSqFhC4AIm5F8Tqfo7DrwLztLFjrU6wfsNJifzdM3E H/mtdVTWI2UvNbdYYIut8oCHp0XQkNgPHjnluW9Plj7d/takSRai83M3xHrTXkfQu5QY vmcjdCT7bcuKQZp9bDON4oSoLFdnCRwOXyYBp1dEabgfasj4Cu+nOIxo91qhOmmGOrDi xyl0PQFbzwI0SoO02FrENC1KX1GLHZfnzPJI1QkUud5aYV5yiuP6HGShZtwZWfYofPCf sc7U3NzqDZQyfqJ2lO6HQCm08JOQzcHwmXNOafFd7+TQwrldYfHGjmz5EpV484g7S3T+ o/qA== X-Received: by 10.152.5.69 with SMTP id q5mr964366laq.46.1383220953807; Thu, 31 Oct 2013 05:02:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.242.199 with HTTP; Thu, 31 Oct 2013 05:02:13 -0700 (PDT) In-Reply-To: <1383130086051-3406.post@n4.nabble.com> References: <1383130086051-3406.post@n4.nabble.com> From: =?ISO-8859-1?Q?Javier_Guerrero_Garc=EDa?= Date: Thu, 31 Oct 2013 13:02:13 +0100 Message-ID: Subject: Re: Using FXG in Air Mobile - What's best for the performance in my case... To: users Content-Type: multipart/alternative; boundary=089e013d1b669901d904ea0839ee X-Virus-Checked: Checked by ClamAV on apache.org --089e013d1b669901d904ea0839ee Content-Type: text/plain; charset=ISO-8859-1 I had a similar problem, but with smoothed bitmap brand logos on scrolling list of clothing items. Finally, and mobile performance oriented, best solution seemed to be adding all the images to stage with visibility="false", smoothed, cachedAsBitmaps, opaqueBackgrounds and so on, and just set one visibility to true according to your condition (or just bind the visibility to some changing var like visibleIndex). Add some nice fades on showEffect and hideEffect, and you're done :) Hope it helps :) On Wed, Oct 30, 2013 at 11:48 AM, derChris wrote: > I have something like a list of components (always 5 on a screen - directly > added to the stage - the compontent extend UIComponent - no list component > used). > > Inside that compontents in the top right corner I have a flag (assets as > fxg). > > When I page the components content changes - and often the flags will > change. > The flags should be smoothen... > > What is the best way to display the flags with focus on performance??? > > Wrap a Group around a BitmapImage and put the fxgs as source or add the fxg > files directly every time? Or is there another, better way? > > Thanks, > > Christian > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Using-FXG-in-Air-Mobile-What-s-best-for-the-performance-in-my-case-tp3406.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. > --089e013d1b669901d904ea0839ee--