# Action Script Problem

**URL:** https://forum.kirupa.com/t/action-script-problem/101336
**Category:** Uncategorized
**Created:** [February 8, 2004, 10:58pm UTC](https://forum.kirupa.com/t/action-script-problem/101336 "2004-02-08T22:58:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jw06](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@jw06](https://forum.kirupa.com/u/jw06)
#### Post date: [February 8, 2004, 10:58pm UTC](https://forum.kirupa.com/t/action-script-problem/101336/1 "2004-02-08T22:58:35Z")

</div>

Ok ive done evertyhing right so far with making text go to a text box. When i test it with ctrl+enter it works fine… it reads the .txt’s fine. when i upload it they wont load the text to the dynamic box… heres my code:

on (release) {  
loadText = new loadVars();  
loadText.load(“news.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
newsBox.html = true;  
newsBox.htmlText = this.myNews;  
scroller.text = this.mynews;  
}  
};  
}

And

on (release) {  
loadText = new loadVars();  
loadText.load(“contact.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
newsBox.html = true;  
newsBox.htmlText = this.myNews;  
scroller.text = this.mynews;  
}  
};  
}
