# Embedded flash menu causes html pages to jump

**URL:** https://forum.kirupa.com/t/embedded-flash-menu-causes-html-pages-to-jump/225608
**Category:** Uncategorized
**Created:** [May 14, 2007, 8:00am UTC](https://forum.kirupa.com/t/embedded-flash-menu-causes-html-pages-to-jump/225608 "2007-05-14T08:00:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![concall](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@concall](https://forum.kirupa.com/u/concall)
#### Post date: [May 14, 2007, 8:00am UTC](https://forum.kirupa.com/t/embedded-flash-menu-causes-html-pages-to-jump/225608/1 "2007-05-14T08:00:15Z")

</div>

I have inserted a flash menu into the html pages in my website. I am using the same swf file and ebedding a variable name in each page eg. “menu.swf?x=about”.  
I then use a conditional statement in the actionscript to determine which page i am on eg  
else if (x == “about”)  
{  
mc\_menu.about.\_alpha = 50;  
}…  
All is working well except when you click a button to change html pages - the page flashes and jumps. Also in IE i have to click the button twice.  
The code behind the button is;  
on (release) {  
getURL(“index.html”);  
}  
I would appreciate any help!
