FLV Streaming Playback

I know a lot of flash but this part with flv streaming. I want to make the following functions and events…

kind of urgent…;

somebody help me pls… (i know nothing on flv streaming playback).


function pause() {
	//stops playing the movie a.k.a. pause
}
function play() {
	//starts playing the movie a.k.a. unpause
}
function stream(location) {
	//starts streaming the movie at the location
}
function getS() {
	//downloaded seconds
}
function curS() {
	//seconds played
}
function totalS() {
	//seconds total
}
function goTo(sec) {
	//goes to the following second
}
event onLoaded() {
	//when it has finished loading
}
event onPlayed() {
	//when it has finished playing
}

I apreciate it if someone helped me…:worried: