# Creating local connections inside a class

**URL:** <https://forum.kirupa.com/t/creating-local-connections-inside-a-class/167352>\
**Category:** Uncategorized\
**Created:** [October 27, 2005, 1:08pm UTC](https://forum.kirupa.com/t/creating-local-connections-inside-a-class/167352 "2005-10-27T13:08:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sybersnake](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sybersnake](https://forum.kirupa.com/u/sybersnake)\
**Post date:** [October 27, 2005, 1:08pm UTC](https://forum.kirupa.com/t/creating-local-connections-inside-a-class/167352/1 "2005-10-27T13:08:15Z")

</div>

I can seem to create the lc and the sending swf can connect, but when you call the function say ‘update’ the function isn’t executed along with the send() command.

This was working perfectly in the root. I think it has something todo with flash not liking to define functions at runtime inside classes? dunoa, any ideas?

thanks.
