# Flash menu causes html pages to jump

**URL:** https://forum.kirupa.com/t/flash-menu-causes-html-pages-to-jump/225392
**Category:** Uncategorized
**Created:** [May 11, 2007, 9:04am UTC](https://forum.kirupa.com/t/flash-menu-causes-html-pages-to-jump/225392 "2007-05-11T09:04:35Z")
**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 11, 2007, 9:04am UTC](https://forum.kirupa.com/t/flash-menu-causes-html-pages-to-jump/225392/1 "2007-05-11T09:04:35Z")

</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.home.scaleX = -49.3;  
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!
