# Need help sending variables from HTML to SWF

**URL:** <https://forum.kirupa.com/t/need-help-sending-variables-from-html-to-swf/215459>\
**Category:** Uncategorized\
**Created:** [February 7, 2007, 3:16pm UTC](https://forum.kirupa.com/t/need-help-sending-variables-from-html-to-swf/215459 "2007-02-07T15:16:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![htrain26](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@htrain26](https://forum.kirupa.com/u/htrain26)\
**Post date:** [February 7, 2007, 3:16pm UTC](https://forum.kirupa.com/t/need-help-sending-variables-from-html-to-swf/215459/1 "2007-02-07T15:16:52Z")

</div>

[FONT=verdana, arial, helvetica][SIZE=2]I have a header with tab buttons— When you are on a certain page the coorisponding tab is a different color(as a locator).

Right now I have like, 7 or 8 different headers that are the same thing minus the colored tab of the current page.

Is there a way to code the flash so that I only need one header, but still keep the off-colored buttons when on the coorisponding page?

Apparently, from what I have gathered I need to [/SIZE][/FONT][FONT=verdana, arial, helvetica][SIZE=2]Send a variable to the SWF from the embedding HTML using FlashVars or SWFObjects’ ‘addVariable’ method etc so the SWF knows which tab/color to use.

But, I have no ideal where to start…uugggggg.:h:  
[/SIZE][/FONT][FONT=verdana, arial, helvetica][SIZE=2]  
Any Suggestions???  
I really, really need to figure this out.  
Thanks in advance,  
hutch[/SIZE][/FONT]
