# How to stop flash menu and header to replay every time?

**URL:** <https://forum.kirupa.com/t/how-to-stop-flash-menu-and-header-to-replay-every-time/253621>\
**Category:** Uncategorized\
**Created:** [March 3, 2008, 4:12pm UTC](https://forum.kirupa.com/t/how-to-stop-flash-menu-and-header-to-replay-every-time/253621 "2008-03-03T16:12:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![collins](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@collins](https://forum.kirupa.com/u/collins)\
**Post date:** [March 3, 2008, 4:12pm UTC](https://forum.kirupa.com/t/how-to-stop-flash-menu-and-header-to-replay-every-time/253621/1 "2008-03-03T16:12:32Z")

</div>

I have bought a flash template on the web. This template includes an animated header and an horizontal menu. I have changed text buttons and assigned links with geturl function. Works fine but I don’t want to replay the full header (except for home) everytime I click on a menu button. How can I do this ? Thanks for your help

on (rollOver)  
{  
if (\_root.link != 1)  
{  
this.gotoAndPlay(“s1”);  
} // end if  
}  
on (releaseOutside, rollOut)  
{  
if (\_root.link != 1)  
{  
this.gotoAndPlay(“s2”);  
} // end if  
}  
on (release)  
{  
if (\_root.link != 1)  
{  
\_parent[“item” + \_root.link].gotoAndPlay(“s2”);  
\_root.link = 1;  
} // end if  
getURL(“index.html”, “”);  
}
