This works for me : 

var soundContainer_mc:MovieClip = 
this.createEmptyMovieClip("soundContainer_mc", this.getNextHighestDepth());
        soundContainer_mc.attachAudio(this.netStream);
        this.audio_sound= new Sound(soundContainer_mc);

Audio sound is a sound object. Hope it helps.

Darren Bowers <[EMAIL PROTECTED]> wrote: Karim,

Are you using the FLVPlayback component? If you are then you need to apply
the volume to the FLVPlayback Object not create a new sound object.

E.g.

my_FLVPlybk.volume = 0;

If not, then you need to create a new sound object and attach it to the MC
you want to adjust:

E.g.
var my_vol = 0;
var my_sound = new Sound();
my_sound.attachSound("some_mc_id");
my_sound.setVolume(my_vol);

Darren



 

-----Original Message-----
From: kariminal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 6 September 2006 7:03 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Changing the Volume of a loaded FLV

Ya - maybe I did not state the problem well,

So, 

 video_snd = new Sound( )
 video_snd.volume = 0

changes the audio volume of the whole movie. I am having issues controlling
the levels of just the video.

I know that 

 video_snd = new Sound( some_mc )
 video_snd.volume = 0

Would change the volume of 'some_mc' only, this does not work with my flv
player.

any ideas why?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corban
Baxter
Sent: 05 September 2006 21:53
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Changing the Volume of a loaded FLV

hey karim,

this should be no problem. You should be able to use this...

sndLvl = 80;
myFLV.volume = sndLvl;

On 9/5/06, kariminal  wrote:
>
> I am having some issues adjusting the volume of a external FLV. The 
> sound object only seems to me effective when I don't specify a target.
>
> Ideally, I would like to adjust adjust the level of the FLV, instead 
> of global sound levels:
>
>         video_snd = new Sound( )
>
> Anyone got any ideas for this one?
>
>
>
> - karim
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>



--
Corban Baxter
http://www.projectx4.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
----------------------------------------------------------------------------
CAUTION & DISCLAIMER: The information contained in this e-mail message
and/or any accompanying data or documents contain information that is 
confidential and subject to legal privilege. The information is intended
only for the recipient named in this message. The sender is excluded from
any liability arising from any further use, dissemination, distribution,
transmission or copying of this information and /or accompanying data by
the recipient. If you are not the intended recipient, you must immediately
erase the information along with all copies of this message and accompanying
data and notify the sender. Views expressed in this message are those of the
original sender, and are not necessarily the views of WestOne Services.
----------------------------------------------------------------------------

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

                
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1ยข/min.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to