PDA

View Full Version : Internet Explorer: Object doesn't support this property or method



biggerboy
03-16-2009, 03:31 AM
Hey guys, found this forum from a search that you fixed this exact problem with someone's script. Hoping you acn provide me with some assistance as well :).

I am receiving this error on here here (http://www.stationengine.com/playtest/index2.php). This works fine in FF it seems.

I have included all of my remote JS files to find out exactly which lines its hitting the error at. The error occurs when I push the button that calls a function that then calls this load function. The error occurs on line 4456 which is (line numbers put in by me)

4452: load: function(evt, url) {
4453: var self = $(this);
4454: var id = self.data("sound.settings").id;
4455: var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
4456: movie.load(url);
4457 self.data("sound.isPlaying", true);
4458: },

In case it helps this is also a longer range of the code:



var settings = {
quality: 'high',
prefix: null,
events: {
play: function(evt) {
var self = $(this);
var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
movie.play();
self.data("sound.isPlaying", true);
},
pause: function(evt) {
var self = $(this);
var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
movie.pause();
self.data("sound.isPlaying", false);
},
stop: function(evt) {
var self = $(this);
var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
movie.stop();
self.data("sound.isPlaying", false);
},
volume: function(evt, vol) {
if(vol > 100) {
vol = vol - 100;
}

var self = $(this);
var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
movie.volume(vol);
},
load: function(evt, url) {
var self = $(this);
var id = self.data("sound.settings").id;
var movie = self.data("sound.get_movie")(self.data("sound.settings").id);
movie.load(url);
self.data("sound.isPlaying", true);
},
error: function(evt, err) {
alert(err.msg);
}
}
};


Again thanks for any help!