# Looping .flv?

**URL:** <https://forum.kirupa.com/t/looping-flv/309056>\
**Category:** flash\
**Created:** [May 5, 2010, 9:50pm UTC](https://forum.kirupa.com/t/looping-flv/309056 "2010-05-05T21:50:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![capseaslug](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@capseaslug](https://forum.kirupa.com/u/capseaslug)\
**Post date:** [May 5, 2010, 9:50pm UTC](https://forum.kirupa.com/t/looping-flv/309056/1 "2010-05-05T21:50:18Z")

</div>

Im not sure what I am doing wrong here:

```auto

var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);

theVideo.attachVideo(ns);

ns.play("q_exp.flv");
if(ns.time==(30))
{ns.seek (0)}

```

Help Is super appreciated! Thanks.
