Associate
- Joined
- 23 May 2006
- Posts
- 558
I'm having trouble with dynamic text not displaying in my movie, basically
I have an swf file called Newloader which loads News.swf
If I click on the news.swf itself then the text will display fine but if I go through newloader.swf the text wont display. I cant work it out
Heres the script from newloader.swf
Script from News.swf
In the News.txt file it says
I can post the Fla files if that would help
Thx
I have an swf file called Newloader which loads News.swf
If I click on the news.swf itself then the text will display fine but if I go through newloader.swf the text wont display. I cant work it out
Heres the script from newloader.swf
Code:
play ();
setProperty("_LeveL100/progress", _xscale, "85");
_LeveL100/:loadingbox = "news";
loadMovieNum("news.swf", 10);
stop ();
Script from News.swf
Code:
aCounter = 0;
loaded = "";
text = "";
value = "";
text.scroll = 1;
loadVariables("news.txt", this);
Code:
if (value ne "")
{
text = value;
}
else
{
text = "loading";
} // end else if
play ();
Code:
if (loaded ne "done")
{
text = "loading.";
aCounter = aCounter + 1;
if (aCounter<50) {
prevFrame ();
} else {
text = "failed to load news index";
} // end else if
}
else
{
text = value;
stop ();
} // end else if
stop ();
In the News.txt file it says
Code:
Text=Welcome
I can post the Fla files if that would help
Thx