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!
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();
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER