private var videoUrl:String = "video/scooter.flv";
private var conn:NetConnection;
private var stream:NetStream;
private function playVideo():void
conn = new NetConnection();
stream = new NetStream(conn);
It gave me this error :
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
flash.net.NetStream was unable to invoke callback onMetaData.
error=ReferenceError: Error #1069: Property onMetaData not found on
flash.net.NetStream and there is no default value.
The sound came out , but not the picture.
If i use wmv or mpeg file, there is no error , but nothing
showed up. No sound either.
Can I play video other than flv ?