# Preloading XML feeded by php

**URL:** <https://forum.kirupa.com/t/preloading-xml-feeded-by-php/136957>\
**Category:** Uncategorized\
**Created:** [February 9, 2005, 7:12pm UTC](https://forum.kirupa.com/t/preloading-xml-feeded-by-php/136957 "2005-02-09T19:12:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fr3sh\_pt](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@fr3sh\_pt](https://forum.kirupa.com/u/fr3sh_pt)\
**Post date:** [February 9, 2005, 7:12pm UTC](https://forum.kirupa.com/t/preloading-xml-feeded-by-php/136957/1 "2005-02-09T19:12:25Z")

</div>

[size=2]Hi,

Does anyone have a clue 'bout preloading XML data that was processed and given to flash by a php script.

It’s not a XML file… it’s data returned by php from a database on the fly, and i need to build a preloader, BUT, when i use getBytesLoaded() i get 0, or with getBytesTotal(), i get undefined.

The question is: I only get the size of the XML obj when finished loading… until then all i get is 0 (for getBytesLoaded) or undefined (for getBytesTotal).  
Any help is welcome 😉

Álvaro

[/size]
