# Preloading both SWF's and XML

**URL:** <https://forum.kirupa.com/t/preloading-both-swfs-and-xml/178913>\
**Category:** flash\
**Created:** [February 15, 2006, 9:51am UTC](https://forum.kirupa.com/t/preloading-both-swfs-and-xml/178913 "2006-02-15T09:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![triaz](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@triaz](https://forum.kirupa.com/u/triaz)\
**Post date:** [February 15, 2006, 9:51am UTC](https://forum.kirupa.com/t/preloading-both-swfs-and-xml/178913/1 "2006-02-15T09:51:23Z")

</div>

How can I preload swf’s whose content uses XML?

I need both the XML and SWF to be fully loaded and available. The problem I have at the moment is that the swf loads and after a slight delay the xml content appears (this is more noticeable at lower bandwidths).

I need for both to appear at the sametime. Is there a way of constructing a preloader that takes both swf and xml bytes together ie getBytesTotal for both swf and xml.

I have seen preloaders for swf’s and xml but not for both.

Thanks in advance.

T.
