PDA

View Full Version : strange problem with projector and LoadVars


gscript
01-04-2006, 05:16 PM
this is my code in the first frame:
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success) {
if (success) {
fname.text = my_lv.firstName;
lname.text = my_lv.lastName;
}
};
my_lv.load("data.txt");
it takes two variables from data.txt which contains
firstName=Mary&lastName=Casas
So far so good. Everything works fine.
But when I convert this movie to a projector file it cannot load the external data and the textfields on the stage show nothing. I could'nt figure out the problem. Please help?

gscript
01-04-2006, 08:28 PM
no idea?