0 Replies - 3735 Views - Last Post: 04 December 2013 - 08:37 AM

#1 lynna18  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-December 13

Stop Sound in MovieClip AS3.0

Posted 04 December 2013 - 08:37 AM

I'm still new in Flash AS3.0 and currently I'm doing an interactive storybook
The problem I'm stuck here is, to stop voice of narrator in movieclip
I'm using the mute code :

var storyline1:MovieClip;
var mute:SoundTransform = new SoundTransform(0.0);
var unmute:SoundTransform = new SoundTransform(1);

btn_StopStory.addEventListener(MouseEvent.CLICK, hentiNarrator);

function hentiNarrator(event:MouseEvent):void
{
storyline1.gotoAndStop(370);
storyline1.soundTransform = mute;
}

but when I want to listen back the voice reading,it playing from starting and another layer that still continue previous reading can be heard.
and one more, when I click to next scene, the voice still playing..
help me please

Is This A Good Question/Topic? 0
  • +

Page 1 of 1