# Action script loop problem

**URL:** <https://forum.kirupa.com/t/action-script-loop-problem/178792>\
**Category:** Uncategorized\
**Created:** [February 14, 2006, 9:55am UTC](https://forum.kirupa.com/t/action-script-loop-problem/178792 "2006-02-14T09:55:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dotcommakers](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dotcommakers/32/2150_2.png) [@dotcommakers](https://forum.kirupa.com/u/dotcommakers)\
**Post date:** [February 14, 2006, 9:55am UTC](https://forum.kirupa.com/t/action-script-loop-problem/178792/1 "2006-02-14T09:55:41Z")

</div>

first of all plz download attached zip file

there what i trying to achive is… i want to load external swfs i have two buttons

next and previous

when i click on next it should load filename1.swf and filename2.swf etc…

and when click on filename2.swf filename1.swf…

but its not working properly… check files and tell me where i am wrong…
