I am having an issue stopping sound playback using the Video player (Library -> New Video) and Sound object in a AS2/Player 8 movie. Here is the code I am using to play the video and attach sound:
--------BEGIN CODE------------- var videoPlayer:Video; var vSound:MovieClip; var so:Sound; nc = new NetConnection(); nc.connect(null); ns = new NetStream(nc); ns.setBufferTime(2); var myStatus = ns.onStatus = function(info) { if(info.code == "NetStream.Play.Stop") { ns.seek(0); } } videoPlayer.attachVideo(ns); ns.play(_flvpath); vSound = createEmptyMovieClip("vSound", getNextHighestDepth()); vSound.attachAudio(ns); so = new Sound(vSound); so.setVolume(100); --------END CODE------------- The issue is that when I try to manipulate the level of the sound via the so Sound object while the movie is playing, the volume does not change, even though so.getVolume value traces with a correct value. Any thoughts or ideas on how to debug this problem? -Jeff _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders