# Controlling swf

**URL:** <https://forum.kirupa.com/t/controlling-swf/201696>\
**Category:** Uncategorized\
**Created:** [September 24, 2006, 3:05am UTC](https://forum.kirupa.com/t/controlling-swf/201696 "2006-09-24T03:05:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![l\_affreux](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@l\_affreux](https://forum.kirupa.com/u/l_affreux)\
**Post date:** [September 24, 2006, 3:05am UTC](https://forum.kirupa.com/t/controlling-swf/201696/1 "2006-09-24T03:05:42Z")

</div>

**[FONT=Arial]  
[/FONT]**[FONT=Arial][COLOR=#494920]If someone could help on the following much will be appreciated:  
[/COLOR][/FONT]  
[FONT=Arial][COLOR=#494920]Does anyone know how to control separate swf’s in one html.

Problem :One swf needs to tell the second swf to go to and stop at a specific frame and they are both in the same HTML.

[/COLOR][/FONT][FONT=Arial][COLOR=#494920]Im having trouble writting the actionscripting that specifies the other swf to gotoAndstop at a certain flag.

how do I change this, so it can say what I want it to do?

[/COLOR][/FONT]  
[FONT=Arial][COLOR=#494920]I got the following actionscript from this site. [/COLOR][/FONT]  
[FONT=Arial][COLOR=#494920][[COLOR=#000000]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn\_16243[/COLOR]](http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16243)

incoming\_lc = new LocalConnection ();  
incoming\_lc.methodToExecute = function (param) {  
sentMessage.text = param;  
};

And I am not communicating and sending messages to the other swf.

Thanks[/COLOR][/FONT]
