Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

External text file no longer loads 1

Status
Not open for further replies.

ozzie1234

Programmer
Nov 8, 2007
5
0
0
CA
I've just edited a page on my website to include a slide-in menu bar for users to sign up for my newsletter but when I add the Actionscript to the slide-in menu it seems to conflict with the script to externally load the text file with the content for that page. So now the slide in menu seems to work but my content won't load. The AS I'm using for the menu and the external content is:

slider.menu_mc.click_btn.onRelease = function(){
slider.play(nextFrame);
}

myVars = new LoadVars();
myVars.onLoad = function(){
textbox.htmlText=this.Pitch;
};
myVars.load("about.txt");

stop();

I've uploaded the .fla file and the text file to my site at in the hopes that someone can tell me how I've erred.
 
I'm not sure what you mean but take it out of the about_mc and it works...
 
Okay, now I see what you mean. Any ideas why that works? Do you think there was a scripting conflict the way I previously had it? As usual, I totally appreciate your help but this really baffles me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top