# ActionScript For Buttons

**URL:** <https://forum.kirupa.com/t/actionscript-for-buttons/227500>\
**Category:** flash\
**Created:** [May 30, 2007, 7:34pm UTC](https://forum.kirupa.com/t/actionscript-for-buttons/227500 "2007-05-30T19:34:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macmar](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@macmar](https://forum.kirupa.com/u/macmar)\
**Post date:** [May 30, 2007, 7:34pm UTC](https://forum.kirupa.com/t/actionscript-for-buttons/227500/1 "2007-05-30T19:34:13Z")

</div>

I have 7 buttons (one button is a drop down with 3 sub menus) that are located on level 200.  
I have movie1.swf loaded on level 10.  
Is there any action script that I can use for the buttons that say-- if movie1.swf is loaded, then load movie2.swf and movie3.swf otherwise if movie1.swf isn’t loaded, then load movie 3.swf.  
I sure could use some help here since I’m action script challenged. Thanks a jillion!
