# Help With Header

**URL:** <https://forum.kirupa.com/t/help-with-header/26656>\
**Category:** flash\
**Created:** [July 25, 2003, 2:36am UTC](https://forum.kirupa.com/t/help-with-header/26656 "2003-07-25T02:36:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cory](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/cory/32/263_2.png) [@Cory](https://forum.kirupa.com/u/Cory)\
**Post date:** [July 25, 2003, 2:36am UTC](https://forum.kirupa.com/t/help-with-header/26656/1 "2003-07-25T02:36:22Z")

</div>

I Need Help.

I Am Making a Header That Will Be Using Tab Links. This Header Will Be Included In Php Pages.

I Need A Way For Flash To Know Which Page It Is On So The Tabs On The Page Will Respond Differently.

Any Suggestions Would Be Nice

---

<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:** [July 25, 2003, 3:42am UTC](https://forum.kirupa.com/t/help-with-header/26656/2 "2003-07-25T03:42:46Z")

</div>

Hi Cory, Try this

Try this [http://www.kirupaforum.com/forums/showthread.php?s=&threadid=597&highlight=send+data+to+flash+from+php](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=597&highlight=send+data+to+flash+from+php)

Also, don’t forget to use the old search function at the top 😉

I searched using - send data to flash from php

---

<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:** [July 26, 2003, 1:46am UTC](https://forum.kirupa.com/t/help-with-header/26656/3 "2003-07-26T01:46:40Z")

</div>

I Have Searched For This Subject On This Site And Others With No Luck On My Particluar Problem.

I Need A Way For Flash To Detect Which Page I Am On. The Problem With loadVariables Is That You Need To Specify Where To Load The Vairables From. This Flash File Will Need To Load The Variables From Different Files Depending On Which Page It Is On So That It (A Flash Header) Can React Differently.

Is There A Flash Function That Gets The Current Page From The Url?

[Here](http://www.webref.info) Is An Idea Of What I Am Trying To Do In Flash (Note The Header Depending On The Page)

Thanks Again,  
Cory

---

<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:** [July 26, 2003, 2:02am UTC](https://forum.kirupa.com/t/help-with-header/26656/4 "2003-07-26T02:02:42Z")

</div>

Okay…I Spent Hours Trying Different Things, And The Solution Is Way Easier Than I Thaught.

if (\_root.\_url == “this.url”) {  
Do This;  
}  
else {  
Do That;  
}
