# Loading flv movies dynamically

**URL:** https://forum.kirupa.com/t/loading-flv-movies-dynamically/174447
**Category:** Uncategorized
**Created:** [January 5, 2006, 8:12pm UTC](https://forum.kirupa.com/t/loading-flv-movies-dynamically/174447 "2006-01-05T20:12:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)
#### Post date: [January 5, 2006, 8:12pm UTC](https://forum.kirupa.com/t/loading-flv-movies-dynamically/174447/1 "2006-01-05T20:12:05Z")

</div>

i have 9 flv files which i’ve created swf files for

each swf is just the standard flv player component put on the stage and linked to the appropriate flv file

they all work individually and when i put them on an HTML page they work fine

now i want to create a container movie that when a button is pressed it will load an swf

so on the button i put this action

```auto

on (press) {
	_root.container.loadMovie ("toload/1A.swf");
}

```

then when i play the container movie and press the button it loads the appropriate swf file, but the flv doesn’t come in and play.

how can i fix this?

should i maybe put the component in the container movie and somehow on(press) change what flv file the component player is linked to?

is there another way to stream / play flv files?

thanks 🙂
