# Possible to execute 2 functions with one hit test?

**URL:** <https://forum.kirupa.com/t/possible-to-execute-2-functions-with-one-hit-test/283183>\
**Category:** programming\
**Created:** [March 3, 2009, 2:45pm UTC](https://forum.kirupa.com/t/possible-to-execute-2-functions-with-one-hit-test/283183 "2009-03-03T14:45:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnamblst](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Post date:** [March 3, 2009, 2:45pm UTC](https://forum.kirupa.com/t/possible-to-execute-2-functions-with-one-hit-test/283183/1 "2009-03-03T14:45:40Z")

</div>

I have a simple hitTest that does a gotoAndPlay of a nested animation. I have a loadMovie on the timeline of the nested animation, but it seems like it would be better to loadMovie with the same hitTest.
