# Load data from external file

**URL:** https://forum.kirupa.com/t/load-data-from-external-file/86348
**Category:** Uncategorized
**Created:** [April 12, 2005, 1:02pm UTC](https://forum.kirupa.com/t/load-data-from-external-file/86348 "2005-04-12T13:02:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Knorcedger](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/knorcedger/32/1244_2.png) [@Knorcedger](https://forum.kirupa.com/u/Knorcedger)
#### Post date: [April 12, 2005, 1:02pm UTC](https://forum.kirupa.com/t/load-data-from-external-file/86348/1 "2005-04-12T13:02:26Z")

</div>

Hi, i found this tutorial  
[http://www.kirupa.com/developer/mx/externaldata.htm](http://www.kirupa.com/developer/mx/externaldata.htm)

it works fine, but i want the file data.txt, to be in a different domain than the swf. When i write loadText.load(“[http://www.mydomain.com/data.txt](http://www.mydomain.com/data.txt)”); the swf doesn’t work. How can i solve this problem?

Thanx
