# Dynamically improting flv files

**URL:** <https://forum.kirupa.com/t/dynamically-improting-flv-files/260088>\
**Category:** Uncategorized\
**Created:** [May 12, 2008, 2:58pm UTC](https://forum.kirupa.com/t/dynamically-improting-flv-files/260088 "2008-05-12T14:58:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sroyle82](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@sroyle82](https://forum.kirupa.com/u/sroyle82)\
**Post date:** [May 12, 2008, 2:58pm UTC](https://forum.kirupa.com/t/dynamically-improting-flv-files/260088/1 "2008-05-12T14:58:19Z")

</div>

Hi Everyone,

This is my very first post on [Kirupa.com](http://Kirupa.com) and I’m wondering if some of you are able to help with a programming question. I’m kind of a newbie to flash and using flv and I’ve been asked to do a dynamic swf file which imports different flv files when you select a static html on the website. The swf will need to know which flv to play and be able to tell the differents between them. Is there anyway of doing this using php/flash/actionscript or xml???

Hope you can help

Cheers  
Simon

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 12, 2008, 4:21pm UTC](https://forum.kirupa.com/t/dynamically-improting-flv-files/260088/2 "2008-05-12T16:21:06Z")

</div>

Look:  
[Here](http://www.qbn.com/topics/551312/)  
[Here](http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001107.html)  
[And Here](http://www.actionscript.org/forums/archive/index.php3/t-100076.html)  
That’s all…oh! [And here](http://www.dna88.com/forum/forum-article389.html). 🙂

---

<div class="post-metadata">

**Author:** ![sipherlucian](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sipherlucian](https://forum.kirupa.com/u/sipherlucian)\
**Post date:** [May 12, 2008, 4:33pm UTC](https://forum.kirupa.com/t/dynamically-improting-flv-files/260088/3 "2008-05-12T16:33:16Z")

</div>

hi simon i think the easiest thing you could do is create a movie clip in flash with the flv embedded in it, and export the swf. do the same with all the flvs you wanna have keep them all with different names like flv01.swf, flv02.swf etc. create your buttons on the html page your designing and give each a command to load a different swf into the space on the html page.maybe just duplicate you html for each swf embed each swf into the different html’s and command each button to load that page.
