Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42

Menu slow when introducing flash


Poster: jwinfo __at__ xs4all.nl
Dated: Wednesday June 8 2005 - 11:36:27 BST

Hello,

when i test the follwing script in a empty site it works great ! (and fast)

<script type="text/javascript" src="script/source.js"></script>
<noscript>your browser does not support java script</noscript>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=script/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=script/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="script/menu_data.js"></script>

As soon as i introduce this code of flash (with or without css; same slow results) the menu goes very very slow and hardly responds at all. This is the flash code

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="200">
<param name="movie" value="flash/top2.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="flash/top2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="200"></embed></object>


im using win2000 and IE6 and latest version of the menu. The script is in the <head> and flash in the <body> I tried placing the script in the body aswell but i get the same slow results.
I stripped my site down to track down the problem and ended up with the flash problem. I also introduced css later (without flash) and it all worked perfectly...its just when i introduce the flash code that the menu slows all the way down

Any idea's ?


Poster: Ruth
Dated: Wednesday June 8 2005 - 20:51:22 BST

If you could post a link to the page where it's slow it would really be helpful.

Ruth


Poster: jwinfo __at__ xs4all.nl
Dated: Wednesday June 8 2005 - 22:42:16 BST

these are the links
http://www.xs4all.nl/~jwildebo/withflash.htm
http://www.xs4all.nl/~jwildebo/withoutflash.htm

the page with flash seems ok at first but soon slow down dramatically.

thanks for looking into it


Poster: John
Dated: Wednesday June 8 2005 - 23:53:01 BST

We have a problem. Apparently in your haste to delete required information from our scripts you neglected to read it first. Please note especially the item that says, "All Copyright statements must always remain in place in all files at all times"...
Code:
/*

Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.726 - Built: Wednesday June 8 2005 - 14:19
Copyright 2005 (c) Milonic Solutions Limited. All Rights Reserved.
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
*******  PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE  *******

License Details: etc.

These items must be replaced as they were when you downloaded them for support to continue.


Poster: jwinfo __at__ xs4all.nl
Dated: Thursday June 9 2005 - 18:36:46 BST

you are right about the license agreement, i corrected this.

here are the links again and i used exactly the same index.htm file as i found in the zip files i downloaded from milonic website.

http://www.xs4all.nl/~jwildebo/withoutflash.htm (same as original index.htm ), goes nice and fast.

http://www.xs4all.nl/~jwildebo/withflash.htm (just added ONE .swf file to the site ....i made sure they did not overlap otherwise it not seem to work at all )it slows right down after you switch between the submenu's a few times


Poster: John
Dated: Monday June 13 2005 - 21:44:21 BST

jwinfo __at__ xs4all.nl wrote:
you are right about the license agreement, i corrected this.

Not really. You corrected only 1 file. The full license agreement must be in all 3 menu code files, as received. This is a legal matter, about which we are very picky, and very firm.


Poster: jwinfo __at__ xs4all.nl
Dated: Monday June 13 2005 - 22:01:40 BST

You are not picky......im the one that screwed up....thanks for correcting me.

Can you look into the flash problem for me ?
I tried placing the menu into a table aswell but it doesnt solve the problem.

thanks


Poster: Ruth
Dated: Tuesday June 14 2005 - 0:27:40 BST

Hi,

Whatever it is, it's something in that particular flash because I tried your page and menu using 3 other flash objects one of them was 248kb, which is a good 100kb larger than yours, and that problem stops happening.

Ruth


Poster: jwinfo __at__ xs4all.nl
Dated: Tuesday June 14 2005 - 16:00:28 BST

hi

thanks for sorting it out for me. I went over all the code in the flashmovie and there was a loop within the code. So in one of the instances within the movie i added a stop(); and removed some code and it solved the problem
The menu is working great again !