homepage Welcome to WebmasterWorld Guest from 54.167.75.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
SWF file not showing in FireFox
LinuxGold




msg:3736503
 1:52 pm on Sep 2, 2008 (gmt 0)

I am unable to get swf file to show up in Firefox. It works in other browsers, what am I missing?

Thanks,

Scott

[edited by: eelixduppy at 4:08 pm (utc) on Sep. 2, 2008]
[edit reason] removed URL [/edit]

 

eelixduppy




msg:3736583
 4:08 pm on Sep 2, 2008 (gmt 0)

Can you please elaborate without directly linking to your problem.

LinuxGold




msg:3736615
 4:48 pm on Sep 2, 2008 (gmt 0)


<object width="381" height="230" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
<param name="movie" value="images/navigation/main/menu.swf">

<param name="quality" value="high">
</object>

i am unable to display this swf object in FireFox while it is able to show up in IE.

Thanks.

dreamcatcher




msg:3737083
 6:33 am on Sep 3, 2008 (gmt 0)

Do you have the Firefox flash plugin installed?

dc

LinuxGold




msg:3742666
 12:16 pm on Sep 11, 2008 (gmt 0)

Firefox flash plugin is installed. It doesn't work on all browsers except for IE.

LinuxGold




msg:3742671
 12:19 pm on Sep 11, 2008 (gmt 0)

Alright, I figured you might want a whole code to detect what I am missing, so here it is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MOT Charter School</title>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="stylesheet" type="text/css" href="motcharter.css">
<script type="text/javascript" language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {
if ((appName=="Netscape")&&(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_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[i].indexOf("#")!=0){
d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];
}
}
}
//-->
</script>
<style><!--
div.Section1
{page:Section1;}
--></style>
</head>
<body marginwidth="0" marginheight="0" bgcolor="#ffffff" leftmargin="0" topmargin="0">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" align="center">
<table width="750" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="21">&nbsp;</td>
<td width="348"><img width="348" height="89" src="images/home/mot_logo_home.gif" alt=""></td>
<td width="381"><img width="381" height="89" src="images/home/address_block.gif" alt=""></td>
</tr>
<tr>
<td width="21" height="230" bgcolor="#f9e062">&nbsp;</td>
<td width="349" height="230"><img width="349" height="230" src="images/home/home_image_sepia.jpg" alt=""></td>
<td width="381" height="230" bgcolor="#f9e062">
<object width="381" height="230" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
<param name="movie" value="images/navigation/main/menu.swf">
<param name="quality" value="high">
</object>
</td>
</tr>
<!--EMERGENCY NOTIFICATION SECTION --><!--
<tr>
<td colspan=3
style="
border:5px double #f00;
padding:5px;
background-color:#ff0;
"
>
<marquee><blink><strong>
School is closed today due to weather for February 22nd.
</strong></blink></marquee>
</td>
</tr>
--> <!-- End of Emergency Notification Section --> <tr> <td width="21">&nbsp;</td> <td width="349" valign="top">
<table width="330" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" class="bodyTextBig">
<p>
<img width="108" height="56" src="images/home/welcome_head.gif" alt=""></p><!--
<div id="openhouse"
style="
border:5px double #f00;
padding:5px;
margin:0 5px 0 0;
">
<p style="
font-family:Palatino;
font-size:14pt;
color:#f00;
text-align:center;
">Open House</p>
<p style="
color:#f00;
text-align:center;
">Tuesday * December 4th * 6:00 Tours * 6:30 Q&amp;A</p>
<p>We invite prospective sutdents and their parents to join us for a campus tour, interaction with faculty and staff, and an information session.</p>
<p>Mot Charter School offers our families:</p>
<ul>
<li>Continuous education from Kindergarten - Grade Eight</li>
<li>Strong focus on the individual growth of each child</li>
<li>Extensive opportunities for parent involvement</li>
<li>A wide variety of extracurricular activities</li>
<li>Intramural and competitive sports programs</li>
<li>Spanish, Art, Music, Technology, Gym and Wellness instruction for every grade</li>
</ul>
<p style="
color:#f00;
">Applications for Fall 2008 accepted December 1st-January 31st.</p>
<p><em>Applications available at Open House or by clicking <a href="http://www.example.com/pdf/application_for_enrollment_2008_2009 fina2.pdf">here</a>.</em></p>
<p><em>Please note: All student wishing to enroll at MOT Charter must submit an application for Fall 2008. Students currently wait-listed must reapply for Fall 2008 enrollment.</em></p>
</div>
--><strong>
<p>&nbsp;</p>
<center><big><strong><em>MISSION STATEMENT</em>
<p>&nbsp;</p>
<p>"MOT Charter School is committed to providing a challenging, innovative curriculum and safe, nurturing environment where all children learn and flourish. Utilizing diverse teaching techniques and exposing our students to a wide variety of educational experiences encourage each child not only to truly enjoy school, but to understand and enjoy the process of learning. Parental inclusion in each child's education is the foundation of our school, and our approach to education is collaborative between Students, Parents, Staff, and the Board of Directors. We believe that a strong school community enables every child to reach his academic and creative potential, while encouraging responsible social values and a shared sense of belonging."</p></strong></big></center></strong></td></tr><tr><td>

<img width="381" height="303" src="images/home/home_color_image.jpg" alt=""></td></tr></tbody></table></td> <td width="381" valign="top" height="303" align="center">

<p><strong><a href="http://example.org/?C201878"><font face="Arial" color="#ff0000">Click here to view the Parent/School Character Connection</font></a></strong></p>
<div style="border: 1px solid ; padding: 1px 4px;">
<div class="Section1">

<!--
********************************************************************************
********************************************************************************
Announcement Section
********************************************************************************
********************************************************************************
-->

<!--
<p style="border-bottom: 2px solid rgb(0, 0, 255); font-weight: bold; padding-bottom: 1em; color: rgb(0, 0, 255); font-family: arial;">
<a href="pdf/MAY_MENU_2008.pdf">Lunch for May in pdf format, click here</a> and <a href="pdf/MAY_NUTRITION.pdf">Meal Nutrient Analysis, click here</a></p>
-->

<center style="font-family: arial;">

<div style="color:#f00;font-weight:bold;">
<p style="color:#00f;"><a href="AFTER%20SCHOOL%20ACTIVITIES.pdf">Click here</a> to download after school activities registration.</p>
<p style="color:#f00;">Come on a Safari Adventure with MOT Charter.s Scholastic Book Fair <a href="http://example.com/bookstore.htm">click here</a>!</p>
<p style="color:#00f">The new bus routes are released, <a href="http://example.com/mot_basics/busroutes.html">click here</a> to view the routes.</p>

<p style="color:#f00">Please <a href="classlist/index.html">click here</a> to
view the class lists for 2008-2009. Although these class lists are final,
there is always a possibility (for example, the arrival of new students) that
adjustments will be required. Of course, if this is necessary, we will first
speak with the parents of the students who are impacted. We are looking
forward to having the students return!</p>

<p style="color:#00f">Dress Code in pdf format, <a href="pdf/2008.2009.dress.code.excerpt.a.pdf">click here</a> to download.</p>
<p style="color:#f00;">Calendar for year 2008-2009, <a href="pdf/2008.calendar.final.pdf">click here</a>.</p>
<ul style="color:#00f;">
<li>6-8th grade Special Education</li>

<li>K-8 Lunch/Recess Aides</li>
<li>Food Service Worker</li>
</ul>

<p>Click <a href="splydoc/list.htm">here</a> for supply list.</p>

<p>Click <a href="summerreading/list.htm">here</a> for summer reading assignments</p>

<!--
<p style="border-bottom: 2px solid rgb(255, 0, 0); font-weight: bold;">Calendar for 2007-2008 in PDF format <a href="pdf/2007calendarApprovedPublished.pdf">click here to download</a> </p></div>
-->

<!--
<p style="font-weight: bold; color: rgb(0, 0, 255);">Join the Parent email list! Send a blank email to:
<br><a style="font-weight: bold;" href="mailto:join@example.us" title="mailto:join@example.us">join@example.us</a></p>
-->
<!--
********************************************************************************
********************************************************************************
End of Announcement Section
********************************************************************************
********************************************************************************
-->

</center></div></div><strong>
<p><!--
<p><strong><big>Bus Routes - <a href="mot_basics/busroutes.html"> Click here for more information</big></strong></p></a><p><strong><big>Class Rosters - <a href="rosters.html"> Click here for more information</big></strong></p></a><p><strong><big>Classroom Supply Lists - <a href="supplies.html"> Click here for more information</big></strong></p></a><p><strong><big>Employment Opportunities - <a href="mot_basics/vacancy.html"> Click here for more information</big></strong></p></a><p><strong><big>12/6/05 - PTO Meeting - 7:00 p.m. <a href="mot_basics/pto.html"> Click Here for more information</a></big></p><p><strong><big>Open House - December 13, 2005
<Br>6pm - 7pm<a href="urgent.html"> Click here for more information</big></strong></p></a><p><strong><big>3/7/06 - PTO Meeting - 7:00 p.m. Click PTO under MOT Charter Basics for more information</a></big></p><p><br> <a href="waivernote.doc"> <big><strong>Notice of Meeting- Click here to download</big></strong></a></P>
--></p></strong></td></tr><tr><td height="20" align="center" colspan="3" class="bodyTextSmall">&nbsp;</td></tr><tr><td align="center" colspan="3" class="bodyTextSmall">

<p><a href="#">HOME</a> <a href="principal.html">PRINCIPAL'S PAGE</a> <a href="mot_basics/mot_basics.html">MOT CHARTER BASICS</a> <a href="admission.html">ADMISSION</a> <a href="/academics/">ACADEMICS</a> <a href="activities.html">ACTIVITIES</a> <a href="/athletics/">ATHLETICS</a> <a href="/news/">NEWS</a> <a href="/calendar/">CALENDAR</a> <a href="staff.html">STAFF</a></p>

<p>
<img width="283" height="7" src="images/shared/copyright.gif" alt=""></p></td></tr><tr><td height="20" colspan="3">&nbsp;</td></tr></tbody></table></td></tr></tbody></table>
</body>
</html>

[edited by: eelixduppy at 8:41 pm (utc) on Sep. 11, 2008]
[edit reason] exemplified [/edit]

rocknbil




msg:3744609
 2:31 pm on Sep 14, 2008 (gmt 0)

You are missing the embed tag. Export it from Flash into a "test" file, it should put it in for you:

<object width="381" height="230" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
<param name="movie" value="images/navigation/main/menu.swf">
<param name="quality" value="high">
<embed src="images/navigation/main/menu.swf" quality="high" bgcolor="#FFFFFF" swLiveConnect="false" width="75" height="35" name="movie" align="center" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

This is invalid code because the <embed> element is nested inside <object>, and also <embed> is proprietary, but it's the legacy approach. I suggest using swfobject, the small Javascript library that works around three issues - alternate content, invalid code, and cross browser support.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved