# \[AS1&2\] I need to load a movie file using a button inside a movieclip

**URL:** <https://forum.kirupa.com/t/as1-2-i-need-to-load-a-movie-file-using-a-button-inside-a-movieclip/264466>\
**Category:** Uncategorized\
**Created:** [June 26, 2008, 12:07pm UTC](https://forum.kirupa.com/t/as1-2-i-need-to-load-a-movie-file-using-a-button-inside-a-movieclip/264466 "2008-06-26T12:07:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtiansen](https://avatars.discourse-cdn.com/v4/letter/x/9d8465/32.png) [@xtiansen](https://forum.kirupa.com/u/xtiansen)\
**Post date:** [June 26, 2008, 12:07pm UTC](https://forum.kirupa.com/t/as1-2-i-need-to-load-a-movie-file-using-a-button-inside-a-movieclip/264466/1 "2008-06-26T12:07:41Z")

</div>

Hello everyone!

You can download my File here.

> stop();  
> btn1.onRelease = function (){  
> vidPlayer.contentPath = “simplemind.flv”;  
> }

I need to play the “simplemind.flv” movie in a FLV player (vidPlayer). And this script usually works IF they are both in the same timeline. My problem is… My button “btn1” is located inside a MovieClip…I basically have 2 items on my root timeline… FLV player (vidPlayer) and a MovieClip(imgBar) which contains my scrolling thumbnails(buttons) and when i click my buttons nothing is happening… but if I put my FLVplayer together with my scrolling thumbnails inside one movie clip… it works… BUT the FLVplayer also scrolls together with my scrolling thumbnail.

Can anybody help me? pls…  
Thanks a lot!
