Skip to main content
Participant
December 22, 2008
Answered

AS3 FLV sound doesn't stop

  • December 22, 2008
  • 2 replies
  • 691 views
I have a swf with 4 scenes, in each scene there's a FLV video. I have buttons going to prevScene and nextScene and when go back and forward I hear the sound of another FLV, any ideas?

the code for the buttons (for example) is

button1.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
myPlayer.stop();
SoundMixer.stopAll();
prevScene();
}
);
This topic has been closed for replies.
Correct answer kglad
any sounds you hear must be instantiated after your stopAll() executes.

2 replies

kglad
Community Expert
Community Expert
December 23, 2008
do not post irrelevant comments in someone else's thread.
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
December 22, 2008
any sounds you hear must be instantiated after your stopAll() executes.
Participant
December 22, 2008
Hi, I am trying to gain access to my chatui.fla file so that I can add an action 3 script, but I do not know how. Can you please direct me as to how I can do this? If possibe, can you e-mail me your findings to koolrog540@hotmail.com. This is the script:

//hide the standard menu-items for right click menu
my_cm = new ContextMenu();
//hide the standard menu-items for that object
my_cm.hideBuiltInItems("Show Redraw Regions");

menuItem_cmi = new ContextMenuItem("RadioStation", theName);
menuItem_cmi.separatorBefore = true;
my_cm.customItems.push(menuItem_cmi);

function theName(obj, menuItem) {
getURL(" http://wething.com/radio", "_blank");
}

_root.menu = my_cm;


thank very much.