# XML.getBytesLoaded()

#### Availability

Flash Player 6.

#### Usage

    XML.getBytesLoaded()

#### Parameters

None.

#### Returns

An integer indicating the number of bytes loaded.

#### Description

Method; returns the number of bytes loaded (streamed) for the XML document. You can compare the value of `getBytesLoaded` with the value of `getBytesTotal` to determine what percentage of an XML document has loaded.

#### See also

`XML.getBytesTotal()`