Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash swf file won't play in browser preview

Status
Not open for further replies.

gimmyd

Technical User
Apr 12, 2002
36
US
I create the flash animation in Flash MX 2004 and it tests fine. I import to web page in Dreamweaver MX 2004 and play it from properties in design view and it plays fine. Then I preview in IExplorer and I get a white square and the page gets to "opening one item" and hangs on hour glass and never finishes loading. Any direction on this would be greatly appreciated.
 
Have you uploaded the swf? Is the path to it site or doc relative?

Cheech

[Peace][Pipe]
 
I'm working on it locally as of now. I've gotten it to play if I create a new page and then review in browser. But if I put it in my old page it hangs. Have tried both methods: document and site specific. I'll include all of the original (old) page code. Let me know if you see something that may be causing this.

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<HTML><HEAD>
<TITLE>WhiteWaterOnline.com</TITLE>
<META content=&quot;text/html; charset=iso-8859-1&quot; http-equiv=Content-Type>
<SCRIPT language=JavaScript>
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==&quot;Netscape&quot;)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf(&quot;#&quot;)!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf(&quot;?&quot;))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+&quot;.location='&quot;+selObj.options[selObj.selectedIndex].value+&quot;'&quot;);
if (restore) selObj.selectedIndex=0;
}
//-->
</SCRIPT>
<META content=&quot;MSHTML 5.00.3103.1000&quot; name=GENERATOR>
<base href=&quot; target=&quot;_self&quot;>
<meta name=&quot;description&quot; content=&quot; A Water and Wastewater Utility Providing a Full Range of Operations, Management and Maintenance Services including Preventive Maintenance, System Support, Cross Connection Control, Inspection Services, Small System Management, Large System Management and Wastewater Contract Operations.&quot;>
<meta name=&quot;keywords&quot; content=&quot;water, corrosion control, pipeline tapping, wastewater, sampling, certified operators, management, opearating manuals, plant operation, maintenance, contract services, sewer, leak detection, leak repair, sewer main, engineering, pump station, pump service, rebuild pumps, controls service, inline monitoring, chlorination, chemical treatment, compliance, qualified contractors, value engineering review, field inspection, as built drawings, system schematics, cross connection surveys, backflow device, testing, hydrant painting, hydrant flow testing, hydrant maintenance, valve operation, valve box cleaning, water leak audits, pipeline locating, valve box locating, valve box drawings, meter reading billing services, meter installation, meter replacement, prevention, preventative, preventive, maintenance, valve, pump&quot;>
</HEAD>
<BODY bgColor=#eff2f7
onload=&quot;MM_preloadImages('Images/Navigation%20Buttons/Home-Down.gif','Images/Navigation%20Buttons/PMP-Down.gif','Images/Navigation%20Buttons/System%20Support-Down.gif','Images/Navigation%20Buttons/Cross%20Connection-Down.gif','Images/Navigation%20Buttons/Inspection%20Services-Down.gif','Images/Navigation%20Buttons/Small%20Systems-Down.gif','Images/Navigation%20Buttons/Large%20Systems-Down.gif','Images/Navigation%20Buttons/Wastewater-Down.gif')&quot;
text=#000000>
<DIV align=left>
<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;550&quot; height=&quot;400&quot;>
<param name=&quot;movie&quot; value=&quot;/WWTextRotate.swf&quot;>
<param name=&quot;quality&quot; value=&quot;high&quot;>
<embed src=&quot;/WWTextRotate.swf&quot; quality=&quot;high&quot; pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;550&quot; height=&quot;400&quot;></embed>
</object>
<div id=&quot;Layer7&quot; style=&quot;position:absolute; width:301px; height:115px; z-index:6; left: 6px; top: 1177px&quot;>
<p>Since December 21, 2001 this site has been visited<a href=&quot; target=&quot;_top&quot;>
<!-- BEGIN FASTCOUNTER CODE -->
<img border=&quot;0&quot; src=&quot; width=&quot;97&quot; height=&quot;32&quot;>
<!-- END FASTCOUNTER CODE -->
</a> times</p>
<p>
<!-- BEGIN FASTCOUNTER LINK -->
<font face=&quot;arial&quot; size=&quot;1&quot;><a href=&quot; target=&quot;_top&quot;>FastCounter
by bCentral</a></font>
<!-- END FASTCOUNTER LINK -->
<br>
</p>
</div>
<TABLE border=0 cellPadding=2 cellSpacing=2 height=1128 width=602>
<TBODY>
<TR>
<TD height=102>
<DIV align=center>
<TABLE align=center border=0 cellPadding=2 cellSpacing=2 height=105
width=599 name=&quot;Pipes Bar&quot;>
<TBODY>
<TR>
<TD width=135>
<DIV align=center><A href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image14','','Images/Navigation%20Buttons/Home-Down.gif',1)&quot;><IMG
border=0 height=56 name=Image14 src=&quot;index_files/Home-Up.gif&quot;
width=116></A></DIV>
</TD>
<TD width=149>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image15','','Images/Navigation%20Buttons/PMP-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image15 src=&quot;index_files/PMP-Up.gif&quot;
width=117></A></DIV>
</TD>
<TD width=143>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image16','','Images/Navigation%20Buttons/System%20Support-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image16
src=&quot;index_files/System Support-Up.gif&quot; width=117></A></DIV>
</TD>
<TD width=146>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image17','','Images/Navigation%20Buttons/Cross%20Connection-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image17
src=&quot;index_files/Cross Connection-Up.gif&quot; width=117></A></DIV>
</TD></TR>
<TR>
<TD width=135>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image18','','Images/Navigation%20Buttons/Inspection%20Services-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image18
src=&quot;index_files/Inspection Services-Up.gif&quot; width=117></A></DIV>
</TD>
<TD width=149>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image19','','Images/Navigation%20Buttons/Small%20Systems-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image19
src=&quot;index_files/Small Systems-Up.gif&quot; width=117></A></DIV>
</TD>
<TD width=143>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image20','','Images/Navigation%20Buttons/Large%20Systems-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image20
src=&quot;index_files/Large Systems-Up.gif&quot; width=117></A></DIV>
</TD>
<TD width=146>
<DIV align=center><A
href=&quot; onmouseout=MM_swapImgRestore()
onmouseover=&quot;MM_swapImage('Image21','','Images/Navigation%20Buttons/Wastewater-Down.gif',1)&quot;><IMG
border=0 height=57 name=Image21 src=&quot;index_files/Wastewater-Up.gif&quot;
width=117></A></DIV>
</TD></TR></TBODY></TABLE></DIV></TD></TR>
<TR>
<TD height=422>
<DIV id=Layer1
style=&quot;HEIGHT: 568px; LEFT: 16px; POSITION: absolute; TOP: 168px; VISIBILITY: visible; WIDTH: 592px; Z-INDEX: 3&quot;>
<DIV id=Layer3
style=&quot;HEIGHT: 381px; LEFT: -5px; POSITION: absolute; TOP: -23px; VISIBILITY: visible; WIDTH: 599px&quot;>
<div id=Layer2
style=&quot;HEIGHT: 701px; LEFT: 525px; POSITION: absolute; TOP: 248px; VISIBILITY: visible; WIDTH: 73px; Z-INDEX: 9&quot;><img
height=705 src=&quot;index_files/WhiteWater Panel.jpg&quot; width=76></div>
<DIV id=Layer2
style=&quot;HEIGHT: 685px; LEFT: -2px; POSITION: absolute; TOP: 248px; VISIBILITY: visible; WIDTH: 76px; Z-INDEX: 8&quot;><IMG
height=705 src=&quot;index_files/WhiteWater Panel.jpg&quot; width=76></DIV>
<div id=&quot;Layer7&quot; style=&quot;position:absolute; width:200px; height:32px; z-index:3; left: 180px; top: 200px;&quot;>
<select name=&quot;LinksMenu&quot; onChange=&quot;MM_jumpMenu('parent',this,0)&quot;>
<option value=&quot;#&quot; selected>Links</option>
<option value=&quot; White Construction
Co.</option>
<option value=&quot; England Water Works
Association</option>
<option value=&quot; Water Works Association</option>
<option value=&quot; Rural
Water Association</option>
<option value=&quot; Dept. of Environmental
Protection</option>
<option value=&quot; Environmental
Services</option>
</select>
</div>
</DIV>
<DIV id=Layer3
style=&quot;HEIGHT: 56px; LEFT: 25px; POSITION: absolute; TOP: 0px; VISIBILITY: visible; WIDTH: 546px; Z-INDEX: 4&quot;>
<DIV align=center><FONT color=#003993
face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=6><B><FONT
color=#000000><I>Water or Wastewater
Issues?</I></FONT></B></FONT></DIV></DIV>
<DIV id=Layer4
style=&quot;HEIGHT: 139px; LEFT: -2px; POSITION: absolute; TOP: 52px; VISIBILITY: visible; WIDTH: 562px; Z-INDEX: 5&quot;>
<DIV align=center><FONT size=3><B><FONT color=#003993 size=4>When it comes
to clear solutions for your water or wastewater facilities, those that
combine proven experience with up to date expertise, from designing and
building your facility to its operation, no other provider can match
WhiteWater, Inc. We have owned and operated systems for over 20 years and
assisted many other New England water and wastewater providers during that
time.</FONT></B></FONT></DIV></DIV></DIV></TD></TR>
<TR>
<TD height=530>&nbsp;</TD>
</TR></TBODY></TABLE>
<DIV id=Layer5
style=&quot;HEIGHT: 115px; LEFT: 167px; POSITION: absolute; TOP: 373px; VISIBILITY: visible; WIDTH: 200px; Z-INDEX: 4&quot;><IMG
height=177 src=&quot;index_files/WhiteWater Logo Dark Blue.jpg&quot; width=280></DIV>
<DIV id=Layer6
style=&quot;HEIGHT: 514px; LEFT: 91px; POSITION: absolute; TOP: 567px; VISIBILITY: visible; WIDTH: 440px; Z-INDEX: 5&quot;>
<P align=center><IMG height=130 src=&quot;index_files/Peak.jpg&quot; width=163></P>
<P align=center><IMG height=32 src=&quot;index_files/PMP.jpg&quot; width=204></P>
<P align=center><IMG height=33 src=&quot;index_files/System Support.jpg&quot;
width=237></P>
<P align=center><IMG height=33 src=&quot;index_files/Cross Connection.jpg&quot;
width=271></P>
<P align=center><IMG height=32 src=&quot;index_files/Inspection Services.jpg&quot;
width=316></P>
<P align=center><IMG height=32 src=&quot;index_files/Small System Management.jpg&quot;
width=354></P>
<P align=center><IMG height=32 src=&quot;index_files/Large System Management.jpg&quot;
width=396></P>
<P align=center><IMG height=32
src=&quot;index_files/Wastewater Contract Operations.jpg&quot; width=435></P></DIV></DIV>
<P>&nbsp;</P>
<a href=&quot; target=&quot;_top&quot;>
</a> <br>
<font face=&quot;arial&quot; size=&quot;1&quot;> </font>
</BODY></HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top