AS3: NetStream only playing audio and no video

cubical38
cubical38 used Ask the Experts™
on
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

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
best guess is that the video's not H.264.  only FP 9.0.115.0 can load .mov files, and the video must be H.264 compressed

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial