?
Solved

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

Posted on 2006-06-28
5
Medium Priority
?
688 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

801 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