# Controlling the number of Downloads (?)

**URL:** <https://forum.kirupa.com/t/controlling-the-number-of-downloads/207830>\
**Category:** Uncategorized\
**Created:** [November 21, 2006, 10:36pm UTC](https://forum.kirupa.com/t/controlling-the-number-of-downloads/207830 "2006-11-21T22:36:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobby\_hamilton](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bobby\_hamilton](https://forum.kirupa.com/u/bobby_hamilton)\
**Post date:** [November 21, 2006, 10:36pm UTC](https://forum.kirupa.com/t/controlling-the-number-of-downloads/207830/1 "2006-11-21T22:36:34Z")

</div>

Happy Holidays Kirupa!

OK, so I am working on a site (in flash 8) in which files will be made available to download for a set number times.

my vision:

When the site loads, a variable containing the quantity of downloads left will be loaded as well. The stage will contain a “download” button that when pressed, will decrement the number of downloads available for that file. When the “quantity of downloads” variable equals zero, the button will disappear - prohibiting any further downloads.

Does anyone know how I can achieve this without the use of a database? Thanx in advance!
