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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadVars not working in Firefox??

Status
Not open for further replies.

lastingforhours

Programmer
Dec 29, 2004
49
US
I have a LoadVars object setup and it works in Internet Explorer. But when I test it in Firefox, it won't work. Here's how my code is setup:


var myVars:LoadVars = new LoadVars();
myVars.load("somevars.txt");
myVars.onLoad = function(loaded) {
if (loaded) {
debug.text = "loaded successfully";
} else {
debug.text = "FILE NOT FOUND";
}
};


ALSO, this only works in Internet Explorer when I publish it for Flash Player 7 and I'd like to be able to publish it in Flash Player 8. Anyone have any ideas on these two problems? Mainly the first problem. I don't have to publish it for 8, I'd just like to.

Blaaah, I hate compatibility issues...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top