# Playing a Flash Movie Randomly

**URL:** <https://forum.kirupa.com/t/playing-a-flash-movie-randomly/185171>\
**Category:** flash\
**Created:** [April 11, 2006, 3:05pm UTC](https://forum.kirupa.com/t/playing-a-flash-movie-randomly/185171 "2006-04-11T15:05:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RofferWeb](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RofferWeb](https://forum.kirupa.com/u/RofferWeb)\
**Post date:** [April 11, 2006, 3:05pm UTC](https://forum.kirupa.com/t/playing-a-flash-movie-randomly/185171/1 "2006-04-11T15:05:57Z")

</div>

To whom it may concern:

This is what I need to do:

Each time you click on a external link in a flash movie the linked window will open in a separate window and a flash pop-up window will load in yet another window.

For instance every 1000 click to the external link a pop up window will appear but only once a month. So I guess I would need to be able to reset the code.

Also, along with have the pop-up occur on the 1000 click, in addition I need to be able to assign another click amount (example 450 clicks) which changes every month.

Also, what is some good link tracking software? Does [statcounter.com](http://statcounter.com) do this?

Please help. Thank you.

-Mark Roffer

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 11, 2006, 3:13pm UTC](https://forum.kirupa.com/t/playing-a-flash-movie-randomly/185171/2 "2006-04-11T15:13:53Z")

</div>

please do not double post 🙂

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [April 11, 2006, 3:24pm UTC](https://forum.kirupa.com/t/playing-a-flash-movie-randomly/185171/3 "2006-04-11T15:24:22Z")

</div>

you should be incrimenting a variable in a database and then checking it every time the link is clicked. This is very possible but will lead to slowness when you click, maybe it’s a necessary evil, but i would test it on your setup, see if it’s worth it.
