?
Solved

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

Posted on 2006-06-28
5
Medium Priority
?
706 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
3 Comments
 
LVL 23

Expert Comment

by:Zeffer
ID: 17006663
Your page loads perfectly in Internet Explorer on a mac

Z
0
 

Author Comment

by:godimugly
ID: 17034022
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 1000 total points
ID: 17034202
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

864 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