# \_framesloaded - embedded video

**URL:** https://forum.kirupa.com/t/-framesloaded-embedded-video/41954
**Category:** flash
**Created:** [February 3, 2004, 7:23pm UTC](https://forum.kirupa.com/t/-framesloaded-embedded-video/41954 "2004-02-03T19:23:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jacobaa](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jacobaa](https://forum.kirupa.com/u/jacobaa)
#### Post date: [February 3, 2004, 7:23pm UTC](https://forum.kirupa.com/t/-framesloaded-embedded-video/41954/1 "2004-02-03T19:23:43Z")

</div>

I have a movie with embedded video, it is about 2 mgs and I know flash has a natural streamer however - it seems to get stuck when I put it live. I want to load 400 frames then start the movie - so it gives it some buffer time.

I tried doing a frame based preloader (yes - I know this is depricated) by putting this code on frame 1 on the root with frame 3 being the first frame of the embedded video.

onEnterFrame = function () {

```
        if (_framesloaded&gt;=400) {

                    gotoAndPlay(3);

        } else {

                    gotoAndPlay(1);

        }

```

};

When I test it in simulate download, it goes till 400 frames – then plays (3) – however the video doesn’t play – just sits still. This is very strange, I’m really not sure what I’m doing wrong.

I’d appreciate any help… thanks
