# Undefined problems

**URL:** https://forum.kirupa.com/t/undefined-problems/296586
**Category:** Uncategorized
**Created:** [September 17, 2009, 1:14am UTC](https://forum.kirupa.com/t/undefined-problems/296586 "2009-09-17T01:14:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Stonucca](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Stonucca](https://forum.kirupa.com/u/Stonucca)
#### Post date: [September 17, 2009, 1:14am UTC](https://forum.kirupa.com/t/undefined-problems/296586/1 "2009-09-17T01:14:12Z")

</div>

Hi all

I have a dynamic text field call mybox\_txt  
it works fine when publishing with within CS4 but when I open the swf locally or publish it to a webserver I get a undefined message  
any help would be appriciated or if anyone can get the same results using as3 would also be good

```auto
 
var lv:LoadVars = new LoadVars();
lv.onData = function(thetext:String) {
 mybox_txt.text = thetext;
}
lv.load("http://mysite.co.uk/flash/text/?name=myName&variable=number");  

```

Thanks for any help given

Ston
