Professional Web Applications Themes

loading images behind application - Macromedia Flex General Discussion

My flex application utilizes bunch of image assets like SWFs, JPEGs. If I embed all of them into the main application(MXML), regardless of using SWC, RSL, its size will be more than hundred Mbytes, no one visit this site...... Therefore we need to consider any effective way to 'embed' and 'load' those assets. We can embed some assets that will be exposed soon. Other assets should be loaded when the application requests them, or preload them BEHIND the application runs. (kind of like background preload) Does anybody have good idea about the 'background preload' ? Thanks, Kei7...

  1. #1

    Default loading images behind application

    My flex application utilizes bunch of image assets like SWFs, JPEGs.
    If I embed all of them into the main application(MXML), regardless of using
    SWC, RSL, its size will be more than hundred Mbytes, no one visit this
    site......

    Therefore we need to consider any effective way to 'embed' and 'load' those
    assets.
    We can embed some assets that will be exposed soon. Other assets should be
    loaded when the application requests them, or preload them BEHIND the
    application runs. (kind of like background preload)

    Does anybody have good idea about the 'background preload' ?


    Thanks,
    Kei7

    kei7 Guest

  2. #2

    Default Re: loading images behind application

    You can use the <mx:Loader> to bring in the assets as you need them:

    <mx:Loader source="asset.jpg" />

    This will not include the image or SWF in the application's SWF, so it will be
    smaller to download. But once the Load is created, it will automatically
    attempt to the load the assets.

    peterent Guest

Similar Threads

  1. Loading Images
    By JustAskin webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 4
    Last Post: January 2nd, 06:02 PM
  2. Application Loading
    By sloan2b in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: April 14th, 03:05 PM
  3. [FMX] Loading images
    By AlexCr webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: January 28th, 05:15 PM
  4. images and loading
    By GilesW webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: October 18th, 10:58 AM
  5. images not loading
    By scook32 webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 2
    Last Post: July 7th, 01:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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