# Help please with the animated text tutorial

**URL:** <https://forum.kirupa.com/t/help-please-with-the-animated-text-tutorial/159077>\
**Category:** flash\
**Created:** [August 14, 2005, 4:38pm UTC](https://forum.kirupa.com/t/help-please-with-the-animated-text-tutorial/159077 "2005-08-14T16:38:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![White\_Devil](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@White\_Devil](https://forum.kirupa.com/u/White_Devil)\
**Post date:** [August 14, 2005, 4:38pm UTC](https://forum.kirupa.com/t/help-please-with-the-animated-text-tutorial/159077/1 "2005-08-14T16:38:00Z")

</div>

hello, i’m doing a portfolio website and i want to update it by database (mysql) so i’m using php + flash + mysql.

i found the actionscript text effect tutorial in this website and i can apply to the loaded var from database by defining the textvariable o i putted this:

myvar = new LoadVars();  
myvar.load(‘[http://localhost/personal/a.php](http://localhost/personal/a.php)’);  
myvar.onLoad = function(loaded) {  
if (loaded){  
text = this.texto;  
}  
};  
nXstart = 1;  
nYstart = 15;  
\_root.char.\_visible = false;  
nLength = length(text);  
nKerning = 12;  
nLLength = 24;  
nChars = 0;  
nLNumber = 1;  
nLSpace = 20;  
ii = 0;

i’m defining the variable “texto” in the php file without any problem, everything is ok but when i run the movie, the text variable keep undefined until i press “Enter” (while the movie its running) then the variable is defined… i dont know what to do… i tryied putting all the variables inside the loaded brakets and didnt work and tryied putting “text=”";" before the load file but didnt work either…

i dont know what to do…

Any help please? i really need it…

thank you
