Solved

3 items remaining Pages with FLASH files don't load completely

Posted on 2006-06-28
5
657 Views
Last Modified: 2012-08-14
I'm developing a website that contains some flash. When the pages load the indicator bar says that they have not loaded completely, when in actuality they have. Usually it's (2 or 3 items remaining) It appears that many sites have used SWFObject (previously known as Flash Object)
http://www.adobe.com/devnet/flash/articles/swfobject.html
 to work around this problem. Does anyone know how to implement SWFObject or have a different solution for this problem?

My site is www.tease-teez.com/sexcited.htm
0
Comment
Question by:godimugly
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Zeffer
Comment Utility
Your page loads perfectly in Internet Explorer on a mac

Z
0
 

Author Comment

by:godimugly
Comment Utility
Ok, well I have 2 computers on which I'm having the same problem.  I purposefully am running an older version of flash in order to see what my customers see (in particular the non tech-savvy users). This problem most likely will not arise in browsers that have updated flash configurations. Adobe has addressed this problem here:

http://www.adobe.com/devnet/flash/articles/swfobject.html

but I am having problems implementing the script on my page.
0
 
LVL 23

Accepted Solution

by:
Zeffer earned 250 total points
Comment Utility
just had a look at the source code for your page and there is a file called flashspacer.gif that appears twice in the first block of "object" code for the swf movies

.gif files are not objects and this code is sure to be screwing up the loading on the browsers you are testing it with

the same thing occurs once in the next block of "object" code

in Dreamweaver's 'codeview' replace the whole page's html with this..

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Sexpertease T-Shirts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language=JavaScript>
var newwin;  
function launchwin(winurl,winname,winfeatures)  
{  
//This launches a new window  
newwin = window.open(winurl,winname,winfeatures);
newwin.focus();
}
</SCRIPT>
</head>

<body>
<script type="text/javascript">
   var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");  
   so.write("flashcontent");
</script>
<table width="867" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="40" rowspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp; </td>
    <td height="93" colspan="3" valign="top"><a href="frontpage.htm"><img src="Logo/logo.gif" width="738" height="91" border="0"></a></td>
    <td width="89">&nbsp;</td>
  </tr>
  <tr>
    <td width="71" height="37" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="600" valign="top"><img src="Nav/1.jpg" width="58" height="23"><img src="Nav/2.jpg" width="63" height="23"><img src="Nav/3.jpg" width="56" height="23"><img src="Nav/4.jpg" width="56" height="23"><img src="Nav/5.jpg" width="59" height="23"><img src="Nav/6.jpg" width="59" height="23"><img src="Nav/7.jpg" width="59" height="23"><img src="Nav/8.jpg" width="62" height="23"><img src="Nav/9.jpg" width="62" height="23"><img src="Nav/10.jpg" width="66" height="23"></td>
    <td width="67">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td rowspan="4" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td height="285" colspan="4" valign="top">
      <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="200" height="285">
        <param name="movie" value="swf/SwfB/sexcitedswf/Bottoms/sexcitedBB2.swf">
        <param name="quality" value="high">
        <embed src="swf/SwfB/sexcitedswf/Bottoms/sexcitedBB2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="285"></embed></object>
      <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="200" height="285">
        <param name="movie" value="swf/SwfB/sexcitedswf/Tops/sexcitedBT3.swf">
        <param name="quality" value="high">
        <embed src="swf/SwfB/sexcitedswf/Tops/sexcitedBT3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="285"></embed></object>
     
      <a href="sexcited2.htm"><img src="Nav/arrow%20right8b.gif" width="109" height="184" border="0"></a>
    </td>
  </tr>
  <tr>
    <td height="19" colspan="4" valign="top" bgcolor="#CCCCCC"><!--DWLayoutEmptyCell-->&nbsp; </td>
  </tr>
  <tr>
    <td height="285" colspan="4" valign="top">
      <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="200" height="285">
        <param name="movie" value="swf/SwfB/sexcitedswf/Tops/sexcitedBT1.swf">
        <param name="quality" value="high">
        <embed src="swf/SwfB/sexcitedswf/Tops/sexcitedBT1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="285"></embed></object>
      <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="200" height="285">
        <param name="movie" value="swf/SwfB/sexcitedswf/Tops/sexcitedBT2.swf">
        <param name="quality" value="high">
        <embed src="swf/SwfB/sexcitedswf/Tops/sexcitedBT2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="285"></embed></object>
    </td>
  </tr>
  <tr>
    <td height="49">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

now you have lost your .gif spacers.. so go to the template and place them so they are OUTSIDE the table cells where you have a swf..add a column or row if needed

Z




Z

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now