# Controm between separate.swf in Frames

**URL:** <https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802>\
**Category:** Uncategorized\
**Created:** [August 20, 2002, 9:33pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802 "2002-08-20T21:33:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RageW0lf](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RageW0lf](https://forum.kirupa.com/u/RageW0lf)\
**Post date:** [August 20, 2002, 9:33pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/1 "2002-08-20T21:33:36Z")

</div>

Hi, for my site I am using HTML frames.  
1 frame is called “menu” and the other is called “main”.  
I am wondering if there is anyway I can control the .swf in “main”  
with the .swf in “menu”.

More specifically - would it be possible to set a variable in the .swf contained “menu” and then depending on the value, make the .swf in “main” act in a certain way.

For example set the variable within the .swf in “menu” :

myvariable=1

and then do a check within the .swf in “main” :

If my variable==1 {do this}

?

I havn’t actually tried “just” doing that because I think it will take more. Does anybody know?

---

<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 20, 2002, 10:07pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/2 "2002-08-20T22:07:31Z")

</div>

I’ve never tried that, nor have I heard of anyone trying it, but that doesnt mean it cannot be done. I have to ask, and I mean no disrespect, if you’re doing this in Flash, why use frames at all? It look like you have a big flash movie on the left and that strip on the right. Why not combine them into one interface?

Just curious.

---

<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 21, 2002, 1:59pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/3 "2002-08-21T13:59:40Z")

</div>

Regarding using one interface :  
2 reasons really, firstly at the time I started creating my site I didn’t know how to use load movie, and my flash skills are not what they are now.  
Secondly its much easier to combine just html/javascript pages on 1 site if you use frames.

---

<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 21, 2002, 6:51pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/4 "2002-08-21T18:51:07Z")

</div>

It’s possible using local Connection, or whatever that stuff was called, or maybe sending variables to the swf (as in “myswf.swf?var1=something” …)  
I had a link on that, there’s a fla on flashkit also, if you really need it, i might be able to find it…lemme know…

---

<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 22, 2002, 6:15pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/5 "2002-08-22T18:15:24Z")

</div>

Ok, here’s the link (with download!):  
[http://63.144.246.231/information/archives/000110.html](http://63.144.246.231/information/archives/000110.html)

---

<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 23, 2002, 9:13am UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/6 "2002-08-23T09:13:41Z")

</div>

Awesome thanks for the link, I’ll check it out!

---

<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 23, 2002, 7:21pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/7 "2002-08-23T19:21:29Z")

</div>

wouldnt it be easy to use a PHP page to pass all the variables and instructions to flash via getURL ? or am I being too simple here, as I am pretty new with PHP.  
Peace

---

<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 24, 2002, 3:50pm UTC](https://forum.kirupa.com/t/controm-between-separate-swf-in-frames/4802/8 "2002-08-24T15:50:26Z")

</div>

Yeah I think that could be done, my experience with PHP is virtually non-existant. If you can post code that would work between the two flash files that would be helpfull 🙂

However my current server seems to only support PHP at version 2.2, when most of the good stuff is 3/4. I have had problems getting mailing forms to work in Flash because of that. I have tried using Perl with CGI scripts, but still I can’t get it to work, I’m stumped as to why it doesn’t work… with perl. I may post here shortly about it!

In November I am to a lightning fast server with PHP 4… and its not gonna cost me a penny 🙂
