# Problem with targeting a function

**URL:** <https://forum.kirupa.com/t/problem-with-targeting-a-function/269016>\
**Category:** flash\
**Created:** [August 21, 2008, 1:56pm UTC](https://forum.kirupa.com/t/problem-with-targeting-a-function/269016 "2008-08-21T13:56:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iaineach](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@iaineach](https://forum.kirupa.com/u/iaineach)\
**Post date:** [August 21, 2008, 1:56pm UTC](https://forum.kirupa.com/t/problem-with-targeting-a-function/269016/1 "2008-08-21T13:56:57Z")

</div>

I’m trying to call a function (comeon()) that is in a loaded movieclip (haitch), loaded into level3.

I thought \_level3.haitch.comeon(); would do it but it doesn’t seem to work, and I’ve even tried built in functions (play()) to see if I can target the loaded movieclip with no success.

Any ideas?

Code for the holder swf:

```auto
var haitch:MovieClip = this.createEmptyMovieClip("haitch", 3);
haitch._x = 484;
haitch.loadMovie("hbox.swf");
_level3.play();

```

The swf loads in fine, but I can’t target it.
