# Two or more swf files communicating. how?

**URL:** <https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993>\
**Category:** Uncategorized\
**Created:** [October 25, 2006, 7:03am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993 "2006-10-25T07:03:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dongzky](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dongzky](https://forum.kirupa.com/u/dongzky)\
**Post date:** [October 25, 2006, 7:03am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/1 "2006-10-25T07:03:52Z")

</div>

Hi! Is there a way or is it possible for twoor more \*\*swf \*\*files communicating? Example, if I have test1.swf and test.swf, test1.swf can change the variable values in test2.swf or vice versa without reloading. Is this possible? How? Thanks.

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [October 25, 2006, 7:12am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/2 "2006-10-25T07:12:40Z")

</div>

[QUOTE=dongzky;1984994]Hi! Is there a way or is it possible for twoor more \*\*swf \*\*files communicating? Example, if I have test1.swf and test.swf, test1.swf can change the variable values in test2.swf or vice versa without reloading. Is this possible? How? Thanks.[/QUOTE]

Have a look at LocalConnection class

---

<div class="post-metadata">

**Author:** ![dongzky](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dongzky](https://forum.kirupa.com/u/dongzky)\
**Post date:** [October 25, 2006, 7:18am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/3 "2006-10-25T07:18:43Z")

</div>

Is there any tutorial available here?

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [October 25, 2006, 7:30am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/4 "2006-10-25T07:30:15Z")

</div>

[QUOTE=dongzky;1985001]Is there any tutorial available here?[/QUOTE]

I don`t think so - there is a simple example here

> **[Communication between multiple SWFs on a page](https://www.kirupa.com/forum/showthread.php?t=184333)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

BTW/I am assuming the swfs are seperate and not loaded into a mother clip or each other??

---

<div class="post-metadata">

**Author:** ![dongzky](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dongzky](https://forum.kirupa.com/u/dongzky)\
**Post date:** [October 25, 2006, 7:32am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/5 "2006-10-25T07:32:09Z")

</div>

Thank you so much for the info. It’s a big help.

---

<div class="post-metadata">

**Author:** ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Post date:** [October 25, 2006, 11:03am UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/6 "2006-10-25T11:03:07Z")

</div>

[http://www.kirupa.com/developer/actionscript/popup\_detection\_localConnection.htm](http://www.kirupa.com/developer/actionscript/popup_detection_localConnection.htm) 😛

---

<div class="post-metadata">

**Author:** ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)\
**Post date:** [October 25, 2006, 9:29pm UTC](https://forum.kirupa.com/t/two-or-more-swf-files-communicating-how/204993/7 "2006-10-25T21:29:12Z")

</div>

[QUOTE=dongzky;1985009]Thank you so much for the info. It’s a big help.[/QUOTE]

no problem

@Krilnon - sorry K, I did know of your tutorial but presumed it was a little too advanced for this sort of thing
