# Loading a video file from within a loaded movie

**URL:** <https://forum.kirupa.com/t/loading-a-video-file-from-within-a-loaded-movie/214497>\
**Category:** flash\
**Created:** [January 29, 2007, 4:53pm UTC](https://forum.kirupa.com/t/loading-a-video-file-from-within-a-loaded-movie/214497 "2007-01-29T16:53:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philippa\_P](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Philippa\_P](https://forum.kirupa.com/u/Philippa_P)\
**Post date:** [January 29, 2007, 4:53pm UTC](https://forum.kirupa.com/t/loading-a-video-file-from-within-a-loaded-movie/214497/1 "2007-01-29T16:53:09Z")

</div>

I’ve set up a test file and I’m having problems loading a video file from within a loaded movie.

I have 3 files - “base.swf”. This loads a swf - “LoadVideo.swf” into level 10

```auto
loadMovieNum("Files/videoFiles/LoadVideo.swf",10);

```

This, (“LoadVideo.swf”), has a button with the code

```auto
loadVideo_mc.onRelease = function() {
	loader_mc.loadMovie("Video.swf");
}

```

This third file - “Video.swf” is called from “loadVideo.swf” above and lives in the same folder.

If I just run, “loadVideo.swf”, the video runs OK. However, if I load it from within “base.swf” as above, it doesn’t work.

Any help would be much appreciated.
