# Hierarchy in ActionScript?

**URL:** <https://forum.kirupa.com/t/hierarchy-in-actionscript/127458>\
**Category:** Uncategorized\
**Created:** [November 3, 2004, 3:58am UTC](https://forum.kirupa.com/t/hierarchy-in-actionscript/127458 "2004-11-03T03:58:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael1](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@michael1](https://forum.kirupa.com/u/michael1)\
**Post date:** [November 3, 2004, 3:58am UTC](https://forum.kirupa.com/t/hierarchy-in-actionscript/127458/1 "2004-11-03T03:58:41Z")

</div>

Sup All

Alrighty, still fairly new to the flash scene, but slowly I’m figuring things out.  
Okay my navigation menu is made up of a few movie clips that open up to dropdown menu buttons. Anyway I can’t figure out where to place the coding, or if there is a hierarchy in the script.

For example the first item in the menu :: you rollOver onto it and it displays the rest of the hidden menu ::

attached to the button in actionscript is ::

on (rollOver)  
{  
gotoAndStop(“open”);  
}

But I also want to add

on (release)  
{  
\_root.contents.loadMovie(“student.swf”);  
}

Can I have both of these actions attached to the same button? Or am I totally lost and I should put the loadMovie action some place else. Attached is the .fla file :: If you have time to gander at it that would be great, or if you can solve my problem w/o it Thank you so much

Thank you in advance

-michael

[FLA FILE](http://studentweb.uwstout.edu/cawcuttm/index.fla)
