# Loading external text INTO actionscript itself

**URL:** <https://forum.kirupa.com/t/loading-external-text-into-actionscript-itself/175846>\
**Category:** Uncategorized\
**Created:** [January 18, 2006, 9:26am UTC](https://forum.kirupa.com/t/loading-external-text-into-actionscript-itself/175846 "2006-01-18T09:26:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesignerDude05](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@DesignerDude05](https://forum.kirupa.com/u/DesignerDude05)\
**Post date:** [January 18, 2006, 9:26am UTC](https://forum.kirupa.com/t/loading-external-text-into-actionscript-itself/175846/1 "2006-01-18T09:26:50Z")

</div>

Is this possible, because what i have is a simple 1 user admin login system, but i want the user to beable to change the password as simple as changing a text file and uploading it which the actionscript will dynamicly load the TEXT into! the Actionscript itself?? if you know what i mean…

on (release) {  
if (username\_ti.text == “username”) {  
error\_ti.text = “”;  
} else {  
error\_ti.text = “Username is Incorrect”;  
}  
if (password\_ti.text == “020688”) {  
passwordError\_ti.text = “”;  
} else {  
passwordError\_ti.text = “Password is Incorrect”;  
}  
if (username\_ti.text == “admin” && password\_ti.text == “password”) {  
loginSuccess\_ti.text = “Login Successful”;  
gotoAndPlay(“loadingText”);  
}  
}

```auto
on (release) {
 if (username_ti.text == "like load the textfiles text into here") {
  error_ti.text = "";
 } else {
  error_ti.text = "Username is Incorrect";
 }

```
