flash (macromedia):
Hi, I am making a site and have just added some sound to the main swf. Funny thing is though, when i view the site so far and go to another website the music continues playing until i click on something? Any Ideas? Im using this code - if(_global.Behaviors == null)_global.Behaviors = {}; if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {}; if(typeof this.createEmptyMovieClip == 'undefined'){ this._parent.createEmptyMovieClip('BS_music',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) ); _global.Behaviors.Sound.music = new Sound(this._parent.BS_music); } else { this.createEmptyMovieClip('_music_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) ); _global.Behaviors.Sound.music = new Sound(this.BS_music); } _global.Behaviors.Sound.music.attachSound("music"); if (true) { _global.Behaviors.Sound.music.setVolume(40); _global.Behaviors.Sound.music.start(0,1000); } Cheers Alan
I like your sites. I dunno if you want the pages to open in a new page necessarily, but you could put in the code to have the pages open in the same window so that it wouldn't still have your page running. I'm assuming that you're talking about your homepage
Hi, Thanks for the reply. I'm not actually talking about my homepage. Im talking about this site - <a target=_blank class=ftalternatingbarlinklarge href="http://www.buildingourdream.com">Here</a> (Ive only made the first page and the home page which you can navigate between) but it when i leave the site that the music carries on playing - even though there is a new site on my screen! Im viewing on msn explorer. It also happens in IE. Any help would be apreciated Cheers Alan
[quoted text, click to view] alanwallace4 wrote: > Wow this is driving me completley crazy! > I cant understand how the music is still playing even after a new web site has been fully loaded into the same window?
Are you sure that the site isn't using a frame - even a really tiny one pixel tall frame? That might explain it. Cheers, - JJ
Wow this is driving me completley crazy!
Don't see what you're looking for? Try a search.
|