Re: [Flashcoders] Sound control problem

2012-02-17 Thread Glen Pike
Hi, I think you need to set the soundTransform of the MovieClip that contains the timeline sound? Also look at the SoundMixer class for "global" controls - you may need the stopAll functionality when you add and remove MC's with sound to/from the stage. Glen On 16/02/2012 19:48, natalia V

Re: [Flashcoders] Sound control problem

2012-02-16 Thread Karl DeSaulniers
Where is the var soundTransform being set first? I dont see it. Is it public or private? _so I see being set but not soundTransform. Best, Karl On Feb 16, 2012, at 1:48 PM, natalia Vikhtinskaya wrote: Hi I have mute button with class linked to this mc in the library package lib { import

[Flashcoders] Sound control problem

2012-02-16 Thread natalia Vikhtinskaya
Hi I have mute button with class linked to this mc in the library package lib { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class MuteControl extends flash.display.MovieClip { private var _so:SoundTransform;