# Creating button that links to an external frame to play sample of movie

**URL:** <https://forum.kirupa.com/t/creating-button-that-links-to-an-external-frame-to-play-sample-of-movie/168418>\
**Category:** Uncategorized\
**Created:** [November 7, 2005, 3:28am UTC](https://forum.kirupa.com/t/creating-button-that-links-to-an-external-frame-to-play-sample-of-movie/168418 "2005-11-07T03:28:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miette](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Miette](https://forum.kirupa.com/u/Miette)\
**Post date:** [November 7, 2005, 3:28am UTC](https://forum.kirupa.com/t/creating-button-that-links-to-an-external-frame-to-play-sample-of-movie/168418/1 "2005-11-07T03:28:32Z")

</div>

I have got the video sample to play within the main frame of the site, however I would prefer the user clicks on a view sample button to which a new window appears, plays the movie then closes.

Does anyone know the best way to open a new window to achieve this?  
Do I need to create another html shell to hold the movie file, or can it be done from flash?
