Cerco di spiegarmi meglio...
Ho questo cod che carica i dati da un file txt esterno
myVars = new LoadVars();
myVars.onLoad = function (success)
{
if (success)
{
mytext.html = true;
mytext.htmlText = myVars.testo;
} // end if
};
myVars.load("story.txt");
Mi chiedevo se fosse possibile caricarli da un campo di testo dinamico precedentemente
popolato di testo.
e quindi avere qualcosa di questo tipo...:
myVars = new LoadVars();
myVars.onLoad = function (success)
{
if (success)
{
mytext.html = true;
mytext.htmlText = myVars.testo;
} // end if
};
myVars.load("_root.campoditestodinamico.text");
Qualcuno sa se sia possibile o meno? anche ovviamente ricorrendo ad altri metodi se ci sono...
Grazie 1000