# Update Flash to play Pre-roll video

**URL:** <https://forum.kirupa.com/t/update-flash-to-play-pre-roll-video/283563>\
**Category:** flash\
**Created:** [March 8, 2009, 3:04am UTC](https://forum.kirupa.com/t/update-flash-to-play-pre-roll-video/283563 "2009-03-08T03:04:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chame111](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@chame111](https://forum.kirupa.com/u/chame111)\
**Post date:** [March 8, 2009, 3:04am UTC](https://forum.kirupa.com/t/update-flash-to-play-pre-roll-video/283563/1 "2009-03-08T03:04:16Z")

</div>

Help!! I am completely lost…I need to update a customized flash player to play a pre-roll video such as an AD before it plays the main video and I haven’t a clue. I thought it would be similar to the way the “postroll” is currently setup in the code. But tried that and it didn’t work. Basically I have a bunch of Flash Vars for each item and when I embed the player on a page I just call the flash vars. Please see attached fla and txt file with the flashvar code… Any help with this would be Greatly appreciated!!! Thank you!!!
