# Dynamic text dont load when is on server

**URL:** <https://forum.kirupa.com/t/dynamic-text-dont-load-when-is-on-server/286983>\
**Category:** flash\
**Created:** [April 23, 2009, 10:42pm UTC](https://forum.kirupa.com/t/dynamic-text-dont-load-when-is-on-server/286983 "2009-04-23T22:42:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![troks](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@troks](https://forum.kirupa.com/u/troks)\
**Post date:** [April 23, 2009, 10:42pm UTC](https://forum.kirupa.com/t/dynamic-text-dont-load-when-is-on-server/286983/1 "2009-04-23T22:42:51Z")

</div>

hello: i am lerning action script by my self and i got stock with the following problem,  
i got a dinamic text field wich loads text from 2 diferent file.txt with loadVariable, it works fine on my computer but when i upload to server the text wont show up. could anybody help me to sove this?  
here is part of the code  
info\_txt1 is the instance name of my the dynamic text field

if (cont1==“uno”) {  
var infoTween:Tween = new new Tween(info\_mc,"\_x", Strong.easeOut, 1024, 107, 1, true)();  
var infoTween2:Tween = new new Tween(info\_mc,"\_y", Strong.easeOut,620, 125, 1, true)();  
var onfoSize:Tween = new Tween (info\_mc,"\_width", Strong.easeOut, 0, 920, 1, true)();  
var onfoSize:Tween = new Tween (info\_mc,"\_height", Strong.easeOut, 0, 496, 1, true)();  
var infoAlpha:Tween = new Tween (info\_mc,"\_alpha",Strong.easeOut, 0, 100, 1, true)();  
cont1 = “dos”;  
nombre\_txt.\_visible = false;  
mail\_txt.\_visible = false;  
mensaje\_txt.\_visible = false;  
myForm.\_visible = false;  
loadVariables (“text.txt”,\_root.info\_mc.info\_txt1);  
}else {  
var infoTweenb:Tween = new new Tween(info\_mc,"\_x", Strong.easeOut, 107, 1024, 1, true)();  
var infoTween2b:Tween = new new Tween(info\_mc,"\_y", Strong.easeOut,125, 620, 1, true)();  
var onfoSizeb:Tween = new Tween (info\_mc,"\_width", Strong.easeOut, 920, 0, 1, true)();  
var onfoSizeb:Tween = new Tween (info\_mc,"\_height", Strong.easeOut, 496, 0, 1, true)();  
cont1 = “uno”;  
}  
};

as i said problem only comes when page is on server, works fine on my computer

thank you very much.
