# Loading MovieClip + Timeline

**URL:** https://forum.kirupa.com/t/loading-movieclip-timeline/275944
**Category:** flash
**Created:** [November 20, 2008, 1:35pm UTC](https://forum.kirupa.com/t/loading-movieclip-timeline/275944 "2008-11-20T13:35:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![OML](https://avatars.discourse-cdn.com/v4/letter/o/5e9695/32.png) [@OML](https://forum.kirupa.com/u/OML)
#### Post date: [November 20, 2008, 1:35pm UTC](https://forum.kirupa.com/t/loading-movieclip-timeline/275944/1 "2008-11-20T13:35:39Z")

</div>

Hello,

I’m trying to load a FLV file using the Video, NetStream & NetConnection objects. I do this in an actionscript 3.0 class that extends MovieClip. I’m using an event listener on the class object on the ENTER\_FRAME event. For some reason, the video.totalFrames = 1 although there are about 495 frames in the loaded movie. Therefore, when I enter the event handler, the value of video.currentFrame always equals zero.

Anybody familiar with this case?  
Thanks,  
OML
