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 B367B18464 for ; Mon, 19 Oct 2015 13:17:12 +0000 (UTC) Received: (qmail 62554 invoked by uid 500); 19 Oct 2015 13:17:12 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 62525 invoked by uid 500); 19 Oct 2015 13:17:12 -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 62513 invoked by uid 99); 19 Oct 2015 13:17:12 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2015 13:17:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 99200180A65 for ; Mon, 19 Oct 2015 13:17:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gGK3X86pQp3o for ; Mon, 19 Oct 2015 13:17:10 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9FB3220751 for ; Mon, 19 Oct 2015 13:17:09 +0000 (UTC) Received: by igbdj2 with SMTP id dj2so56445275igb.1 for ; Mon, 19 Oct 2015 06:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=HnwXc4D582C5LE2Hy0/xWjpkI+wGiTvl9ZhZgcdVPDk=; b=TfSYMPMIURC39ix2an1DYjXTyKSv7wkeDDJiIoi3G3ROh+JlW9+M4vNL5ePBu6G4iP q1gOvnKZPDKL1lVIRBX2dVOnawbZroxBSADpO0zqTbNWhFph69FeZjaH95KIpE/voPBF 5paC/XxBdAxivqc6PLz77FwuH91h2ou7U4ni8qTA9lfGlcPEQTF4bgPtUxmyFjqXjuu6 iOHMXCyHWCBF6f8/Z1u2XnOWbNJQJdqfXxSndl7axQ9iszpTiGnpxlgc2mojQHTM3Z20 CkQtigpOSY/IlT6xVWAv98dQTTDJ78E8EBrPJCgRz5V5ER9zYqPDQ1z2iaACnPbmNZr7 2gJw== X-Received: by 10.50.55.98 with SMTP id r2mr18769466igp.57.1445260628543; Mon, 19 Oct 2015 06:17:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: mark goldin Date: Mon, 19 Oct 2015 13:16:58 +0000 Message-ID: Subject: Re: Speed up application start To: "users@flex.apache.org" Content-Type: multipart/alternative; boundary=e89a8f234afd5f4cf6052274f641 --e89a8f234afd5f4cf6052274f641 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am not sure I fully understand an idea with a small swf shell firing Flex modules. My main application page is an html page. So, I could load shell's swf as such: swfobject.embedSWF("shell.swf", "mainDiv", "100%", "100%", "14.0.0", "expressInstall.swf"). The shell swf can expose whatever public methods are needed to run modules. My question is how and what am I going to pass around to load a specific module being selected from the main html menu? Another thing is the the shell must be hidden. On Mon, Oct 19, 2015 at 12:26 AM Alex Harui wrote: > > > On 10/18/15, 8:40 AM, "mark goldin" wrote: > > >My setup is the following: > >I have an html navigation bar across the screen. I am loading my Flex > >application by selecting a menu on the bar. That will navigate to an htm= l > >wrapper that looks like this: > > > > > >
> >
> > > > > > > > > > > >So, what exactly can I improve? > > Hard to say. I think when you started on this path some of us wondered > why you couldn=E2=80=99t use a shell SWF. Basically, by converting from = Modules > to Applications you have effectively converted from DLL=E2=80=99s to EXE= =E2=80=99s if you > are familiar with Windows. A Module/DLL is smaller and faster because it > doesn=E2=80=99t have to create an entire process in the runtime. Of cour= se, > processes give you isolation better than Modules/DLLs, but you pay for th= e > construction of that isolation. > > Using a shell SWF to load the other sub-application SWFs might help, but > going back to loading module SWFs will still probably be more performant. > > -Alex > > --e89a8f234afd5f4cf6052274f641--