all groups > flash data integration > may 2006 >
You're in the

flash data integration

group:

undefined


undefined Liesjuhh
5/7/2006 3:44:13 PM
flash data integration: I made a dynamic textbox wich should load a txt file. When I test the .swf it
says undefined in the textbox.
I treedouble checked everything. The txt file starts with content=, the
dynamic textbox has nextup as instance name and in the Var, the txt is in the
right place and has the right name.
It should just work as it also works in other textboxes, but it doesnt.
Plz help, this is really frustrating...

This is the code I use:


System.useCodepage = true;
nextup.html = true;
myLoadVar = new LoadVars();
myLoadVar.load("content/nextuptext.txt");
myLoadVar.onLoad = function(success){
if (success == true){
nextup.htmlText = myLoadVar.content;
}
};
Re: undefined Motion Maker
5/7/2006 5:01:39 PM
Place the text file in same folder as swf or place an absolute path to the
text file.

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
I made a dynamic textbox wich should load a txt file. When I test the .swf
it
says undefined in the textbox.
I treedouble checked everything. The txt file starts with content=, the
dynamic textbox has nextup as instance name and in the Var, the txt is in
the
right place and has the right name.
It should just work as it also works in other textboxes, but it doesnt.
Plz help, this is really frustrating...

This is the code I use:


System.useCodepage = true;
nextup.html = true;
myLoadVar = new LoadVars();
myLoadVar.load("content/nextuptext.txt");
myLoadVar.onLoad = function(success){
if (success == true){
nextup.htmlText = myLoadVar.content;
}
};

AddThis Social Bookmark Button