# Need one more option with thw swfobject

**URL:** <https://forum.kirupa.com/t/need-one-more-option-with-thw-swfobject/217427>\
**Category:** Uncategorized\
**Created:** [February 26, 2007, 10:04pm UTC](https://forum.kirupa.com/t/need-one-more-option-with-thw-swfobject/217427 "2007-02-26T22:04:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jansensan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jansensan/32/3362_2.png) [@jansensan](https://forum.kirupa.com/u/jansensan)\
**Post date:** [February 26, 2007, 10:04pm UTC](https://forum.kirupa.com/t/need-one-more-option-with-thw-swfobject/217427/1 "2007-02-26T22:04:54Z")

</div>

hello all, this is my first time using these forums, but i have been reading a lot of stuff over the last years in the tutorials of this site

i have recently implemented the swfobject on a website ([http://www.kirupa.com/developer/flash8/flash\_fix.htm](http://www.kirupa.com/developer/flash8/flash_fix.htm), [http://blog.deconcept.com/swfobject/](http://blog.deconcept.com/swfobject/)) to fix the embed issue.

i am creating a top nav in swf. i would like the tab onto which we land becomes highlighted (so we know what page were on, ie: home | registration | ABOUT US | contact) but i cannot write a flashvar on each page since my flash has to be in a header block, that is loaded via coldfusion.

i know i can pull variables from the url, but is it possible with swfobject to also add variables to the url?

for example, when someone clicks on registration, i would like this to happen:

http:/www.url.com/registration?selectedMenu=Registration

or something like this (i am not a cf programmer, so im not sure i added that vars properly in the url)

then with the getQueryParamValue from the swfobject, i would be able to pull that once the user has landed on the page and then highlight the proper tab in the top nav.

please lemme know if i am unclear, thx for helping!

edit: sorry for the typo in the title
