FLV and Movie Clips?

Hey All,
*I posted this in the “Flash MX 2004” section but its seems more appropriate here. *
I’ve created an flv player that allows you to do the basics of playing/pausing and rewinding(from gotoandlearn.com).

My problem is that I want to play an animation then have a button that then loads the flv file and plays it. Then when the video is finished to go back and play the animation again.

How can I do this?

So far I can’t even get the video to begin paused instead of loading and instantly playing.

Please help!

This is the code I have so far:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("intro2.flv");
rewind_btn.onRelease = function(){
	ns.seek(0);
}


play_btn.onRelease = function(){
	ns.pause();
}
stop();

Many thanks,
-Dr Red