Log in

View Full Version : External text file no longer loads



ozzie123
02-10-2008, 04:46 PM
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 http://clearlygreendesign.com/cgd_about.zip in the hopes that someone can tell me how I've erred.

BLiZZaRD
02-12-2008, 06:24 PM
I went to the about page to look at it live and all seems to be working well. I assume you found the fix?