flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: reduce creation time of view in mobile app
Date Mon, 28 Nov 2016 16:29:23 GMT


On 11/28/16, 5:57 AM, "Frank Dahmen" <frank@dahmenia.de> wrote:

>that's why I said "magic" not "unpleasant" :)

Fundamentally, if it isn't visible on-screen, don't create it right away.

If you look at the FlexStore example here [1]

I've used states and a "prebake" trick to finish up initialization of
off-screen stuff after the initial screen is visible.

HTH,
-Alex 

[1] 
https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-examples.git;a
=blob_plain;f=FlexStore/spark/src/FlexStore.mxml;hb=refs/heads/develop

Mime
View raw message