# Play control through html

**URL:** <https://forum.kirupa.com/t/play-control-through-html/28783>\
**Category:** flash\
**Created:** [August 18, 2003, 3:43pm UTC](https://forum.kirupa.com/t/play-control-through-html/28783 "2003-08-18T15:43:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tMac](https://avatars.discourse-cdn.com/v4/letter/t/5e9695/32.png) [@tMac](https://forum.kirupa.com/u/tMac)\
**Post date:** [August 18, 2003, 3:43pm UTC](https://forum.kirupa.com/t/play-control-through-html/28783/1 "2003-08-18T15:43:13Z")

</div>

I have a question for any seasoned Action scripters. Here’s my problem, I have two flash files embedded in different parts of an HTML page and I want one flash file to play the other when it gets done.

I would assume that I need to use PHP or javascript to talk with the HTML file that would send the other flash file a command which it was “listening” for. I really don’t know however.

If anyone could help me with this I would be eternally grateful and thanks in advance for your time…

tMac

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2003, 4:52pm UTC](https://forum.kirupa.com/t/play-control-through-html/28783/2 "2003-08-18T16:52:57Z")

</div>

Welcome to kirupaForum, tMac. 😛

You don’t need to use PHP or JavaScript, you use the LocalConnection object.  
[http://www.macromedia.com/support/flash/action\_scripts/local\_connection\_objects/](http://www.macromedia.com/support/flash/action_scripts/local_connection_objects/)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2003, 7:12pm UTC](https://forum.kirupa.com/t/play-control-through-html/28783/3 "2003-08-18T19:12:14Z")

</div>

thanks for the quick response. I plan to learn all about how to use local connection objects.

i’m hoping I can figure this out and it will do the trick. thanks again

tMac
