PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
It is currently Mon Apr 22, 2019 11:58 pm

All times are UTC - 5 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: swf is slow
PostPosted: Tue Feb 16, 2010 10:39 am 
Forum Newbie

Joined: Sat Dec 26, 2009 6:23 pm
Posts: 10
i have this website

and made a lightbox that works perfectly, it runs OVER the little flash banner on the right, and that works in FF3.6 and IE8.
It works because i changed the wmode into opaque for the flash banner...the problem is that it slows down my flash banner in IE8.
I do not know why this is.
I though the flash banner only slows down when you use the transparant wmode.

Is there something i forgot ?
Here is the script for the right menu, where the flash banner is hidden in.

Syntax: [ Download ] [ Hide ]
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3821.2800" name=GENERATOR></HEAD>
<body bgcolor=#E2E965 link=#E2E965 vlink=#E2E965 alink=#E2E965 text=black>
<SCRIPT language=JavaScript>
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
       button1off = new Image;
       button1off.src = "overdirkwitte1.jpg";
       button2off = new Image;
       button2off.src = "contactamsterdam1.jpg";
       button3off = new Image;
       button3off.src = "contactutrecht1.jpg";
       button4off = new Image;
       button4off.src = "faq1.jpg";
       button5off = new Image;
       button5off.src = "folder1.jpg";
       button1on = new Image;
       button1on.src = "overdirkwitte2.jpg";
       button2on = new Image;
       button2on.src = "contactamsterdam2.jpg";
       button3on = new Image;
       button3on.src = "contactutrecht2.jpg";
       button4on = new Image;
       button4on.src = "faq2.jpg";
       button5on = new Image;
       button5on.src = "folder2.jpg";
function img_act(imgName) {
       imgOn = eval(imgName + "on.src");
       document [imgName].src = imgOn;
function img_inact(imgName) {
       imgOff = eval(imgName + "off.src");
       document [imgName].src = imgOff;
<TABLE border=0 cellSpacing=0 cellpading="0" align=top>
    <TD align=left vAlign=top width=200>
<p style="margin:7px;"><A
      onmouseover="img_act('button1')" target=midden><IMG border=0 name=button1
      src="overdirkwitte1.jpg"></A>&nbsp; <A
      onmouseout="img_inact('button1')" onmouseover="img_act('button1')"
<p style="margin:7px;"><A
      href="contact.php" onmouseout="img_inact('button2')"
      onmouseover="img_act('button2')" target=midden><IMG border=0 name=button2
      src="contactamsterdam1.jpg"></A>&nbsp; <A
      href="contact.php" onmouseout="img_inact('button2')"
      onmouseover="img_act('button2')" target=midden></A>
<p style="margin:7px;"><A href="2contact.php"
      onmouseout="img_inact('button3')" onmouseover="img_act('button3')"
      target=midden><IMG border=0 name=button3
      src="contactutrecht1.jpg"></A>&nbsp; <A
      href="2contact.php" onmouseout="img_inact('button3')"
      onmouseover="img_act('button2')" target=midden></A>
<p style="margin:7px;"><A href="faq.php"
      onmouseout="img_inact('button4')" onmouseover="img_act('button4')"
      target=midden><IMG border=0 name=button4
      src="faq1.jpg"></A>&nbsp; <A href="faq.php"
      onmouseout="img_inact('button4')" onmouseover="img_act('button4')"
<p style="margin:7px;"><A href="folder.pdf"
      onmouseout="img_inact('button5')" onmouseover="img_act('button5')"
      target=_blank><IMG border=0 name=button5
      src="folder1.jpg"></A>&nbsp; <A href="folder.pdf"
      onmouseout="img_inact('button5')" onmouseover="img_act('button5')"
<p style="margin:7px;">
<OBJECT id="slideshow" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" WIDTH="220" HEIGHT="100"  id="test" align="middle">
<PARAM NAME=movie VALUE="banner.swf">
<PARAM name=wmode value="opaque">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=allowScriptAccess VALUE=sameDomain>
<PARAM NAME=bgcolor VALUE=#E2E965 >
<EMBED Name="slideshow" src="banner.swf" wmode="opaque" quality=high bgcolor=#E2E965 WIDTH="220" HEIGHT="100" TYPE="application/x-shockwave-flash" PLUGINSPAGE="">

 Post subject: Re: swf is slow
PostPosted: Tue Jun 22, 2010 3:30 pm 
Forum Regular
User avatar

Joined: Sun Dec 29, 2002 6:40 pm
Posts: 908
Location: VA
Framerates in flash banners are due to a lot of different things. Try making the flash smaller by reducing the number of extra/unnecessary symbols you have in the library.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group