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 58F5C10816 for ; Sat, 27 Jul 2013 04:27:07 +0000 (UTC) Received: (qmail 99038 invoked by uid 500); 27 Jul 2013 04:27:04 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 99016 invoked by uid 500); 27 Jul 2013 04:27:04 -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 99002 invoked by uid 99); 27 Jul 2013 04:27:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jul 2013 04:27:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yariv.gilad@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jul 2013 04:26:56 +0000 Received: by mail-vb0-f46.google.com with SMTP id w8so1732412vbf.33 for ; Fri, 26 Jul 2013 21:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=crbvPbUkE3bq6PPFGMj5/w2a39Qz72QM/Rq3119gQDg=; b=PGFt8sAZLhSy/DfFrGT4CYaJPmiF3czNW5Gpb0eq/B+7BSBre+M97AgregbfxKMtsB mY7V/5O1t/IB48N8E67SIS4zjxECEFNtHCz4VYYVE/phhQNqig2JmEIKuRyEuDwElZTX ZyChlYeSi9tN8DF6P1YdO/cVlg8+Xf8pVfVk7FT8k/7Blp/E0b7xoZHhWFCnGOV+pTlF vlSVeuTVtJ2yWFj8Sb21pVKGOQnmKSCkTlNTUsERJTAntH/tISAsjt2nZQiGesa7LAyY iiZ6xAV5nSlGedU7nzKCb9n/9YAKY/IvGT5UK3i0sTewZNEM+BPMGBIzStglvUiI19pT dMwQ== MIME-Version: 1.0 X-Received: by 10.220.101.197 with SMTP id d5mr4870314vco.59.1374899195500; Fri, 26 Jul 2013 21:26:35 -0700 (PDT) Sender: yariv.gilad@gmail.com Received: by 10.221.44.130 with HTTP; Fri, 26 Jul 2013 21:26:35 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Jul 2013 07:26:35 +0300 X-Google-Sender-Auth: jzHB0G1Upf_TZpHGMw_W5LXCXRo Message-ID: Subject: Re: non-blocking preloading animation? From: Ajar To: users@flex.apache.org Content-Type: multipart/alternative; boundary=047d7b3a7dd8265cbf04e276aaa4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a7dd8265cbf04e276aaa4 Content-Type: text/plain; charset=ISO-8859-1 Thanks for that Alex. :) On Fri, Jul 26, 2013 at 10:58 PM, Alex Harui wrote: > > > On 7/26/13 12:31 PM, "Ajar" wrote: > > >Hi all > >I have a big flex web project > >It takes a while to load.... its around 3M for the main app swf and 80K > >for > >additional 4 modules that loads afterwords > >The loading weight is not bothering me, as we have this tiny animation > >with > >gags for the user to go through, it's not terrible. > >What bothers me is that once the app swf loads, everything chokes and > >freeze, until the app initializes itself. > >So I can't go the "perceived performance" way really because whatever I > >put > >there freezes and chokes for good 30 seconds... > >I even tried putting the preloader animation in a separate light-weight > >flash swf and have it in a separate div on the html on top at the center > >of > >the page. > >it behaves just the same. it doesn't matter if its in a different swf, it > >chokes just the same... > >Does workers relevant for this kind of scenario? > >Is there anything that comes to mind I could do beside re-writing the > >application? > Well, it depends on what you mean by 're-write'. Use the profiler to see > where all of the time is going. Some of those application frameworks > being discussed in the other thread can contribute to the problem by doing > their injections on creationComplete. > > Another app I analyzed was using creationPolicy=all everywhere. Sure, it > makes your code easier to write, but then that's the price you pay. Think > "on-demand" and "just-in-time", not "just-in-case". > > >:) > >cheers > >Ajar > > --047d7b3a7dd8265cbf04e276aaa4--