# FLVplayback source not changing

**URL:** https://forum.kirupa.com/t/flvplayback-source-not-changing/331155
**Category:** flash
**Created:** [June 1, 2013, 7:39am UTC](https://forum.kirupa.com/t/flvplayback-source-not-changing/331155 "2013-06-01T07:39:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)
#### Post date: [June 1, 2013, 7:39am UTC](https://forum.kirupa.com/t/flvplayback-source-not-changing/331155/1 "2013-06-01T07:39:29Z")

</div>

Hello,

I have two folders, one with my main fla file and one with videos I want to load on my FLVplayback when clicking on menu buttons.  
So I set the video source for the first time via AS3:

videoPlayer.source="…/sample.mp4";

Which works fine, and the video loads. But after that all the other videos just doesn’t load, like the source can’t be found. I get no errors.  
Here is the function for the buttons:

function video2(event:MouseEvent):void{ videoPlayer.source="…/video2.mp4"; }
