PDA

View Full Version : load external text into child movie



pbrollwitme
07-13-2005, 12:34 PM
Hey all,
i know other have had similar problems because i've seen similar posts on other forums. My problem is that I have text that i load into a movie using the LoadVars() function:

datesText = new LoadVars();
datesText.onLoad = function(success) {
if(success) {
dates.htmlText = datesText.news;
}else{
dates.text="error loading...please try again later...";
}
};
datesText.load("http://www.matbryant.com/news.txt");

simple...and it works great, until i load the movie into a parent movie. I've tried using _root.loader.dates (loader being the name of the window the movie loads into)
_parent, this ,everything...i think it maybe a level issue but i'm not sure how to detect the level it is on.
Also, if i put text into the dynamic text box, or if i make it an input text box, the text still won't appear and you can't input text into the box, even though the curser shows up as if it were over a textbox.
Does anyone have any idea how i could fix this? Thanks for your help!!

pbrollwitme
07-13-2005, 12:42 PM
nevermind i figured it out...it was a masking problem
thanks!