# Embedding video, dynamically

**URL:** https://forum.kirupa.com/t/embedding-video-dynamically/72246
**Category:** flash
**Created:** [December 3, 2004, 4:27pm UTC](https://forum.kirupa.com/t/embedding-video-dynamically/72246 "2004-12-03T16:27:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stonemetric](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stonemetric](https://forum.kirupa.com/u/stonemetric)
#### Post date: [December 3, 2004, 4:27pm UTC](https://forum.kirupa.com/t/embedding-video-dynamically/72246/1 "2004-12-03T16:27:58Z")

</div>

I want to import video file names from an XML document, and then play the corresponding videos in Flash–but I don’t want to restrict my “video player” to playing only FLV files. Anyone know what the AS command that I need is (or if it’s even achievable)? attachVideo didn’t seem to yield any results for me.

Thank you!
