# 'Talking' between different SWFs on webpage

**URL:** <https://forum.kirupa.com/t/talking-between-different-swfs-on-webpage/239987>\
**Category:** Uncategorized\
**Created:** [September 27, 2007, 11:27pm UTC](https://forum.kirupa.com/t/talking-between-different-swfs-on-webpage/239987 "2007-09-27T23:27:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabrolll](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@gabrolll](https://forum.kirupa.com/u/gabrolll)\
**Post date:** [September 27, 2007, 11:27pm UTC](https://forum.kirupa.com/t/talking-between-different-swfs-on-webpage/239987/1 "2007-09-27T23:27:57Z")

</div>

Hey,  
I know you guys are whizzes at this stuff, so I was hoping this would be an easy one for you. I have 2 SWFs, one with a list of ‘content’ and another that will display said content. The content is just different swfs. Think a list of cartoons and a player for those toons.

So lets say I have menu.swf, player.swf and movie1.swf. I only barely have an idea about how to do this.

menu.swf code:  
[COLOR=red][COLOR=red]sending[/COLOR] = new LocalConnection();

myButton.onPress = function(){  
sending.send(“myConnection”, “movie1.swf”);[/COLOR]  
[COLOR=red]}[/COLOR]

player.swf code:  
[COLOR=red]receiving = new LocalConnection();

receiving.loadMovie = function(receivedMovie){  
loadMovie(“movie1.swf”, “holder”); // ‘holder’ being the destination MC  
}

receiving.connect(“myConnection”);[/COLOR]

And Im looking at this knowing full well its garbage… Can someone please help me out?
