Mendelsohn, Michael wrote:
Hi list...
Is there a property to get/set the volume of a flash video on the stage?
Here's a small snippet of code from a recent project -- create a Sound
object to control the sound level in the video.
__audioControl = __timeline.createEmptyMovieClip( "audio", __depth++ );
__sound = new Sound(__audioControl);
.
.
.
__player.attachVideo(__ns);
__audioControl.attachAudio(__ns);
__sound.setVolume(__volumeLevel);
__player is a reference to a Flash video object (inside another clip).
__ns is the NetStream reference.
Hope this helps!
- jim
--
2112 FX :: Singularity
[Business Intelligence][Custom Programming]
Flash Math Blog :: www.2112fx.com/blog
_______________________________________________
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