I am trying to have sound play when the user rolls over an image with this code below:
container._visible = 0;
thumbsnr = 4;
for (var i = 1; i<=thumbsnr; i++) {
mc = this["mc_"+i];
mc.onRelease = function() {
container._visible =1;
container.attachMovie(this._name, clip, 1);
};
}
the script i am using for the sound is this:
s = new Sound();
s.attachSound("sound_1");
s.start();
i have done the linkage but it still doesn’t seem to be working.