# Lloading external text INTO the actionscript

**URL:** <https://forum.kirupa.com/t/lloading-external-text-into-the-actionscript/175853>\
**Category:** flash\
**Created:** [January 18, 2006, 10:19am UTC](https://forum.kirupa.com/t/lloading-external-text-into-the-actionscript/175853 "2006-01-18T10:19:27Z")\
**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, 10:19am UTC](https://forum.kirupa.com/t/lloading-external-text-into-the-actionscript/175853/1 "2006-01-18T10:19:27Z")

</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”);  
}  
}

Code:  
[LEFT]on (release) { if (username\_ti.text == “like load the textfiles text into here”) { error\_ti.text = “”; } else { error\_ti.text = “Username is Incorrect”; }[/LEFT]
