# FLV and Movie Clips?

**URL:** <https://forum.kirupa.com/t/flv-and-movie-clips/167424>\
**Category:** Uncategorized\
**Created:** [October 28, 2005, 2:31am UTC](https://forum.kirupa.com/t/flv-and-movie-clips/167424 "2005-10-28T02:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr\_red](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@dr\_red](https://forum.kirupa.com/u/dr_red)\
**Post date:** [October 28, 2005, 2:31am UTC](https://forum.kirupa.com/t/flv-and-movie-clips/167424/1 "2005-10-28T02:31:22Z")

</div>

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](http://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:

```auto
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
