lastingforhours
Programmer
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...
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...