# One Button to rule them all

**URL:** <https://forum.kirupa.com/t/one-button-to-rule-them-all/187991>\
**Category:** Uncategorized\
**Created:** [May 3, 2006, 4:36pm UTC](https://forum.kirupa.com/t/one-button-to-rule-them-all/187991 "2006-05-03T16:36:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geminian1](https://avatars.discourse-cdn.com/v4/letter/g/90db22/32.png) [@Geminian1](https://forum.kirupa.com/u/Geminian1)\
**Post date:** [May 3, 2006, 4:36pm UTC](https://forum.kirupa.com/t/one-button-to-rule-them-all/187991/1 "2006-05-03T16:36:45Z")

</div>

Hi guys,  
I want to have a \_btn or \_mc on stage that, when continuously clicked, loads sequential JPEGs from the library via attachMovie and tween fade it in. I can comfortably do that with a \_btn per JPEG but do not know how to code for one \_btn for, say, 20 JPEGs.  
I hope I am making some sense. As ever, any help much appreciated.  
Geminian1.
