# I'm ready to break something

**URL:** <https://forum.kirupa.com/t/im-ready-to-break-something/179486>\
**Category:** flash\
**Created:** [February 20, 2006, 5:21pm UTC](https://forum.kirupa.com/t/im-ready-to-break-something/179486 "2006-02-20T17:21:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goth\_Santa](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@Goth\_Santa](https://forum.kirupa.com/u/Goth_Santa)\
**Post date:** [February 20, 2006, 5:21pm UTC](https://forum.kirupa.com/t/im-ready-to-break-something/179486/1 "2006-02-20T17:21:12Z")

</div>

I cannot for the life of me figure out why this won’t work.

I have a text file **source.txt** whose sole contents are:

> 

loc=news2.xml

Then this bit of code:

```auto

lv = new LoadVars();
lv.onLoad = function() {
    where = this.loc;
}
lv.load("source.txt");
trace(where);

```

It keeps returning **undefined**. What’s the problem!? I’ve tried tracing “\_root.where” also, but it gives the same result (or lack thereof). I copied this _directly_ from a tutorial on here, just to make sure I didn’t type something wrong. This is making me crazy.
