# Change colortheme on a page, including a flashmenu

**URL:** <https://forum.kirupa.com/t/change-colortheme-on-a-page-including-a-flashmenu/111575>\
**Category:** Uncategorized\
**Created:** [May 28, 2004, 9:52am UTC](https://forum.kirupa.com/t/change-colortheme-on-a-page-including-a-flashmenu/111575 "2004-05-28T09:52:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorseye](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thorseye/32/66_2.png) [@thorseye](https://forum.kirupa.com/u/thorseye)\
**Post date:** [May 28, 2004, 9:52am UTC](https://forum.kirupa.com/t/change-colortheme-on-a-page-including-a-flashmenu/111575/1 "2004-05-28T09:52:57Z")

</div>

I’ve got a page where I want to be able to change the colorscheme. The thing is that I also got a flash-menu that also needs to be changed.

So far I’ve done three swf’s which are the same (except the color). But when I click something in the menu the color changes to the original color everywhere on the page. How should I do to prevent this? I’ve got a page (index.php) where I’ve got a variable $color which sets the color on the page. Should I send this variable to flash everytime I click something in the menu? How should I do this? Do I have to have a second php-page which generates a string, like &color=green; ?

Is it understandable? =) I have all the files on my computer for the moment, but if nobody understands what I’m trying to explain, I’ll put the files on a server.

Thanks.

---

<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:** [May 28, 2004, 11:38am UTC](https://forum.kirupa.com/t/change-colortheme-on-a-page-including-a-flashmenu/111575/2 "2004-05-28T11:38:12Z")

</div>

if you include this where you embed your flashmovie in HTML, you can refer to the color variable like \_root.color

```auto
<param type="flashvars" value="color=<?php echo($color); ?>" />

```

for more information on this, do a search on flashvars 😉
