Thanks for the feedback Jim...however, my video is embedded, and it
looks like netstream only works with an external video.  Any idea how
this can be done with an embedded video?

Here's the code I've tried:

vid.gotoAndStop(2);
// vid is the MC containing the embedded Flash video
// create audio control MC
vid.onEnterFrame = function() {
// does this when the video is loaded and set to go...
        var audioControl:MovieClip =
_root.createEmptyMovieClip("audioControl", 66);
        var audioLevel:Sound = new Sound(_root.audioControl);
        audioControl.attachAudio(vid);
        audioLevel.setVolume(15);
        vid.onEnterFrame = function() {
        };
};


Thanks,
- Michael M.


__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.

_______________________________________________
[email protected]
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