Link to home
Start Free TrialLog in
Avatar of cubical38
cubical38

asked on

AS3: NetStream only playing audio and no video

My NetStream plays only the audio in an .mov file when I place in a video that has both.  If I place in a video that has only video it shows.  How do I get the stream from audio and video to both play.  Seems odd to have a video player that only streams video or audio but not both.  Help is greatly appreciated.

Thanks!
var video:Video = new Video();
VideoContainer.addChild(video);
var netConnect:NetConnection = new NetConnection();
netConnect.connect(null);
var netStream:NetStream=new NetStream(netConnect);
netStream.client={onMetaData:centerStream};
video.attachNetStream(netStream);
netStream.play("LA-now.mov");
//netStream.pause();

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of moagrius
moagrius
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cubical38
cubical38

ASKER

Thanks!