# Calling functions between swf's w/localconnection

**URL:** <https://forum.kirupa.com/t/calling-functions-between-swfs-w-localconnection/67700>\
**Category:** flash\
**Created:** [October 18, 2004, 10:22pm UTC](https://forum.kirupa.com/t/calling-functions-between-swfs-w-localconnection/67700 "2004-10-18T22:22:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Limitlis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/limitlis/32/788_2.png) [@Limitlis](https://forum.kirupa.com/u/Limitlis)\
**Post date:** [October 18, 2004, 10:22pm UTC](https://forum.kirupa.com/t/calling-functions-between-swfs-w-localconnection/67700/1 "2004-10-18T22:22:45Z")

</div>

I was wondering if there is a way to call a function between 2 seperate swf’s.

SWF 1: has whatever on it picture and what not.  
function printme(){  
printAsBitmap("",“bmovie”);  
}

SWF 2: calls a the printme() function

I would like to preferably use a localConnection if possible, unless there is a better way. Its not going to be in a browser. So i thats why i dont want to use JScript and/or browsers.

HELP please!!!

Thanks in advanced,  
Limitlis
