# How to make flash play only on first load of page?

**URL:** <https://forum.kirupa.com/t/how-to-make-flash-play-only-on-first-load-of-page/170534>\
**Category:** Uncategorized\
**Created:** [November 27, 2005, 8:41am UTC](https://forum.kirupa.com/t/how-to-make-flash-play-only-on-first-load-of-page/170534 "2005-11-27T08:41:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casss](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@casss](https://forum.kirupa.com/u/casss)\
**Post date:** [November 27, 2005, 8:41am UTC](https://forum.kirupa.com/t/how-to-make-flash-play-only-on-first-load-of-page/170534/1 "2005-11-27T08:41:22Z")

</div>

I have an aspx application with an embedded flash movie. I have items on the page that cause it to reload (postback). How do I make the movie play only on the first load of the page and not start over when the user clicks one of these items?

I was able to do it using – if not page.ispostback – but then the movie stops when the user clicks an item that reloads the page, instead of playing through.

Any help is appreciated.
