Reducing Initial Startup time in Flex 1.5

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Reducing Initial Startup time in Flex 1.5

    How can we reduce initial startup time of a flex application ? Suppose we have
    a large application , and we want to reduce application startup time. Is it
    possible that we are able to devide application into multiple SWF files and
    (Initially ) only those SWF files are downloaded on client which are initialy
    required ? How can we acheive this i.e architecting application in such a way
    that intialy some SWF ( only required on client side ) are downloaded on
    client and remaing are downloaded only when they are actually required by
    client ?
    any help would be appreciated !!!!!!!!!!
    thanks

    MShehzad Guest

  2. Similar Questions and Discussions

    1. My first time with flex (how to scan a remote folder)
      hi there I've taken a sample code and I'm trying to recode it to suit my needs As you can see images are defined in the array the problem is I...
    2. Question about Flex retrieving real-time data
      You can always just set a timer and call your server once every few seconds to check for updates. It really depends on how vital/compex/reusable you...
    3. Flex 2 Beta 3 date & daylight savings time issue
      I have created an addDay method which takes a date as a parameter and then adds 34 * 60 * 60 * 1000 to it, creates a new date and returns it, but...
    4. Flex or Flash ? Flex saves time , Flash saves money !
      Pleas i need help with Flex and cold fusion ! I don?t get it how Flex can trigger CF Component ? I know how create component but i tried and i...
    5. Instance startup time
      Hi folks, I know, I can find the uptime of an Informix instance in every onstat, but the date and time of the instance startup? Has anyone a...
  3. #2

    Default Re: Reducing Initial Startup time in Flex 1.5

    Hi,

    Yes it is possible to divide the application into multiple SWFs. You can have
    a main SWF file which loads other SWFs when they are required.

    You can use the SWFLoader (mx.controls.SWFLoader) component to load a SWF
    from within the main Flex Application.

    Anjali Bhardwaj
    Flex SDK Development Team

    Anjali Bhardwaj Guest

  4. #3

    Default Re: Reducing Initial Startup time in Flex 1.5

    In 1.5 it is mx:Loader.

    Also, build the app using containers that support deferred instantiation.
    These include ViewStack, Accordion, and tabNavigator. Be sure you do NOT set
    creationPolicy="all" this will defeat the purpose.

    Also here is a link to an article on improving performance in 1.5:
    <a target=_blank class=ftalternatingbarlinklarge
    href="http://www.adobe.com/devnet/flex/articles/client_perf/client_server_perfor
    mance.pdf


    Tracy">[url]http://www.adobe.com/devnet/flex/articles/client_perf/client_server_perfo[/url]
    rmance.pdf

    Tracy</a>

    ntsiii Guest

  5. #4

    Default Re: Reducing Initial Startup time in Flex 1.5

    well shezad do u want it to appear to similar to look like this?
    just check this site..
    <a target=_blank class=ftalternatingbarlinklarge href="http://www.merhl.com/

    ">[url]http://www.merhl.com/[/url]

    </a>

    poonamsheth Guest

  6. #5

    Default Re: Reducing Initial Startup time in Flex 1.5

    Thanx for your reply !
    yes i want to create similar look.I have two questions regarding this

    1) I have little idea that we can acheive such look by using creationPolicy =
    "queued" , my question is ..........suppose we are using a tabNavigator with
    4 tabs and in each tab we have set creationPolicy="queued" . we are using mxml
    custom components of each size 20 Kbs. First time either only first view will
    be loaded on the client side(size 20 K) or all 4 views(size 80 K) will be
    loaded. It is really important becuase I want to reduce initial startup time.

    2) How we can use such component which show size of contents downloaded ( as
    used at [url]http://www.merhl.com/[/url]
    ). any sample code ?

    thanks once again !


    MShehzad Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139