You mean a live feed from a webcam and such? Or a .flv file?
If it's the first, here's an example, if it's the second, let me know and I'll post another example.
private var stream:Camera;
private function startVideo():void
<mx:VideoDisplay id="myScreen" width="320" height="240"/>
<mx:Button id="startbtt" label="Start" width="150" height="50" click="startVideo()"/>
It is the second, but not in FLV format.
I want to play a MPG file in a Flex app. It should have sound control. Thanks.
Flex 3 Video control can only read FLV files.
You have to convert it.
There's loads of good and free converters.
If you need this for a site with video uploads or something you have to use a conversion library, like ffmpeg.