# Can't get ExternalInterface.call() working

**URL:** <https://forum.kirupa.com/t/cant-get-externalinterface-call-working/237593>\
**Category:** Uncategorized\
**Created:** [August 31, 2007, 7:17pm UTC](https://forum.kirupa.com/t/cant-get-externalinterface-call-working/237593 "2007-08-31T19:17:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrndMasterFlash](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Post date:** [August 31, 2007, 7:17pm UTC](https://forum.kirupa.com/t/cant-get-externalinterface-call-working/237593/1 "2007-08-31T19:17:29Z")

</div>

ok, im changing a iframe via javascript, i got the js working fine, i can use a button to activate it.

im trying to use ExternalInterface.call(“changeBody”) ot call call my javascript “changeBody”, however i can’t get this to work. the page recognizes that something is getting called but i don’t know something is just not rigth.

as3 script

```auto

function togBody(event:MouseEvent) {
    ExternalInterface.call("changeBody");
}
home.addEventListener(MouseEvent.MOUSE_UP, togBody);

```

please anyone, any answers or even clues would help:(
