# NetStream time problem

**URL:** <https://forum.kirupa.com/t/netstream-time-problem/315624>\
**Category:** flash\
**Created:** [October 30, 2010, 2:25pm UTC](https://forum.kirupa.com/t/netstream-time-problem/315624 "2010-10-30T14:25:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wu4D](https://avatars.discourse-cdn.com/v4/letter/w/a88e57/32.png) [@Wu4D](https://forum.kirupa.com/u/Wu4D)\
**Post date:** [October 30, 2010, 2:25pm UTC](https://forum.kirupa.com/t/netstream-time-problem/315624/1 "2010-10-30T14:25:15Z")

</div>

Hello. Right now i’m stuck with this and i can’t seem to pull it off. so i have somthing like this :

```auto

newTime = Math.round(this.stream_ns.time()); 
this.class.tweenSeekPlay(newTime); 

```

and ther’s the tweenSeekPlay function

```auto

 public function tweenProgress(param1 : Number){
            
       this.mcSeek.mcProgress["tween1"] = new Tween(this.mcSeek.mcProgress, "width", Strong.easeInOut, this.mcSeek.mcProgress.width, param1, 1, true);
        
        }

```

But it dose not tween only when the stream is paused. Also if i do this

```auto
trace(newTime);

```

and play the video it retunrs

```auto

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

```

and so on. How can i make it tween. Or how can i make it to only return

```auto

1
2
3
4
5....

```
