# Confusion about movieclip.target

**URL:** <https://forum.kirupa.com/t/confusion-about-movieclip-target/243419>\
**Category:** Uncategorized\
**Created:** [November 6, 2007, 9:31pm UTC](https://forum.kirupa.com/t/confusion-about-movieclip-target/243419 "2007-11-06T21:31:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ywenz](https://avatars.discourse-cdn.com/v4/letter/y/edb3f5/32.png) [@ywenz](https://forum.kirupa.com/u/ywenz)\
**Post date:** [November 6, 2007, 9:31pm UTC](https://forum.kirupa.com/t/confusion-about-movieclip-target/243419/1 "2007-11-06T21:31:26Z")

</div>

I’m going thru the kirupa example of using loading XML data in flash. I came across this example, most of the logic makes sense to me but I don’t understand the syntax

preloadbar\_mc.target = my\_xml; //my\_xml is reference to the loaded XML object.

what does movieclip.target mean? I’ve search for movieclip.target but could not find any documentation… your explanation is appreciated!

```auto

preloadbar_mc.onEnterFrame = function(){if (!this.target) return (0);var loaded = target.getBytesLoaded();var total = target.getBytesTotal(); var scale = 0;if (loaded && total){var percent = loaded/total;scale = 100 * percent;} this._xscale = scale;} preloadbar_mc.target = my_xml;

```
