Well without seeing the code you are using it’s pretty hard to tell you how to fix it, but here are a couple suggestions on basic rules to fix the problem. And please don’t show me the code… try to fix it yourself from these suggestions.
First directly download the .swf file you are using here:
http://www.themarksonconnection.com/video.swf
click all the buttons… everything works fine .. but, did you notice, when the file first load it auto plays starting with Dr. Larry. So in the Web page, regardless of which Dr. you click, it will always play Dr. Larry (from the cache), besides the other Dr. you may have clicked on. Test that for yourself. Then do this, play the Dr. Larry video and back arrow to the home page. While there, delete all the files from the Temp Internet cache (in IE Tools/Internet Options/Browsing History/Settings/View Files) .. then delete them all. Close everything out and you’re back to your Web page. Now choose any Dr. and NO Problem.
Since I ain’t ah’ very good at PHP, I’m not exactly sure how you are navigating to the various sections of the .swf, but however you are going it, you will need to stop the current video from playing before any nav changes are made.
So if you are using a PHP array, one way around this would be to load a non-existent element. To stop one video from playing (as in an array), call for an element which does not exist in the array. So if you have 4 videos in your array, on click, have your function call for the 6th element in the array. You now have stopped video 1 and the 6th file does not exist, so nothing happens. Then immediately call for the correct element. At the very least, you will need to stopAllSounds(); (Google for more info).
To illustrate, here is a AS2 button which took viewers to another page… but the music would keep playing.. until I added the code to load a fake url in the array
home_btn.onRelease = function() {
getURL("http://www.uncledoodad.com/index.htm");
jukebox.loadSound(urls[100],false);
}
When jukebox did a loadSound, it stops the current and tries to load [100]. Since there is no 100 in the array, it stops playing while getting the other URL.
Sorry that this doesn’t solve the issue but it should help you understand the problem better.
Best wishes,
Eye for Video
www.cidigitalmedia.com