1 Reply Latest reply on May 15, 2006 4:29 AM by Newsgroup_User

    Controlling what elemetns loads first in a HTML page (images & swfs)

    complexity Level 1
      Hi all I have a document containing multiple swfs and images. Is there anyway I can control which swf or image loads first etc. Obvisouly it would start from which ever one is higher in the HTML document.

      However I would like to control what loads first, also can this be?

      Any help is much appreciated.
        • 1. Re: Controlling what elemetns loads first in a HTML page (images & swfs)
          Level 7
          > However I would like to control what loads first, also can this be?

          You cannot really do this. Elements are requested from the server in the
          order in which they are encountered in the markup, reading from <html> to
          </html>. Being requested first is no guarantee that the given element will
          appear first, however, as this would depend on element weight, network
          congestion, phase of the moon, the color of your sox, and many other know
          knowns, unknown knowns, and unknown unknowns.

          Usually, those who worry about things like this are those whose pages are
          well into the continental weight scale. I'd recommend that you spend some
          time on making total page weight smaller, as a more effective use of your
          effort.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "complexity" <webforumsuser@macromedia.com> wrote in message
          news:e495o2$1nm$1@forums.macromedia.com...
          > Hi all I have a document containing multiple swfs and images. Is there
          > anyway I
          > can control which swf or image loads first etc. Obvisouly it would start
          > from
          > which ever one is higher in the HTML document.
          >
          > However I would like to control what loads first, also can this be?
          >
          > Any help is much appreciated.
          >