PDA

View Full Version : Flash won't load!!



hissam
05-04-2009, 04:16 PM
Hi all,

I've getting a small problem with my new website, for some reason the html page fails to load the Flash movie for both ie and firefox. When i test it on the desktop it seems to be working fine, but not on the server! Whats wrong and what am i doing wrong? Do you think its a Flash problem or an html problem? Please let me know! Im really confused. Thanx for your help!

Heres the link

http://www.i-lrn.com/praxis/testing

And heres the page code


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="980" height="750">
<param name="movie" value="testing.swf?button=0">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
<!--[if !IE]> <-->
<object data="testing.swf?button=0"
width="980" height="750" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</div>
</body>
</html>

gnomeontherun
05-05-2009, 10:23 AM
Smile, you're in good hands :) I like the template, btw.

It loads for me in FF3 but not IE. I never liked the way that Dreamweaver exported code for Flash, but its definately the code. You seem to have commented out the AC_RunActiveContent.js javascript file?

Read the post in my signature about Embedding Flash Properly for another method.

araid329
05-06-2009, 10:04 AM
heres my site armarketinggroup.com

my flash wont render on the site and it is a template that i rebuilt im not the greatest with html code but i desperately need help


This is my code for the flash header that wont load it as my links in it some my site is useless without is

</head>
<body id="page1" onload="new ElementMaxHeight()">
<div class="top_bg">
<div id="main">
<!-- header --><div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="794" height="487" >
<param name="movie" value="flash/header_v8.swf?button=1" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
<object data="flash/header_v8.swf?button=1"
width="794" height="487" type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object></div>
<!-- content -->

gnomeontherun
05-06-2009, 10:44 AM
Again, look at my post about embedding flash properly, and you should be good to go if you follow it.

araid329
05-06-2009, 05:14 PM
I have looked at your previous post but i dont understand what i need to change in my code. IM sorry im a noob to flash and embedding such movies. If you could let me know what exactly to change that would be much appreciated

Thanks

gnomeontherun
05-06-2009, 06:14 PM
Well I'm telling you that you need to drop what you have, and use my example, and without seeing the whole HTML page I can't be sure if you are using that AC_.....js file which I have trouble with often.

araid329
05-06-2009, 06:33 PM
Ok i see you example i am using ac_runactivecontent.js

so can i copy your example then would i replace all of the references to flash content with my flash swf file????

can i show you the html so you can take a look at what i have

araid329
05-06-2009, 06:34 PM
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
</head>
<body id="page2" onload="new ElementMaxHeight()">
<div class="top_bg">
<div id="main">
<!-- header --><div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="794" height="487" >
<param name="movie" value="flash/header_v8.swf?button=2" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
<object data="flash/header_v8.swf?button=2"
width="794" height="487" type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object></div>
<!-- content -->
<div id="content">
<div class="content_indent">
<div class="width">
<div class="col_1 line_y maxheight">
<div class="indent_1 line_x">
<img src="images/page2_title1.gif" alt="" class="title" /><br />
<img src="images/page2_img1.jpg" alt="" width="118" height="149" class="img_left2" />
<h5>Welcome to AR Marketing Group. </h5>
<p>The Goal of AR Marketing Group is to ensure our customers increase their visibilty. Focus on their target market, and increase their potential<br />
<a href="#">
</a><br />
</p>
</div>
<div class="indent_2"><img src="images/page2_title2.gif" alt="" class="title" /><br /> <strong>We have worked with many incredible companies</strong>
<p class="p1">The purpose of our group is to fuse our ideas with your vision, making the visions you have for your business come to life.</p>
<div class="box">
<ul class="list_2 col_box_1">
<li>- <a href="#">Market Research</a></li>
<li>- <a href="#">Profitable Stratigies</a></li>
<li>- <a href="#">Innovative Execution</a></li>
</ul>
<div class="clear"></div>
</div>
<img src="images/page2_img2.jpg" alt="" width="168" height="91" class="img_left2" />
<strong>Alexander Williams</strong><br />
<p>I am a great mind a growing scholar for the worlds marvel .<br />
<a href="#">
</a><br />
<div class="clear"></div>
</div>
</div>
<div class="col_2 maxheight">
<div class="indent">
<img src="images/page2_title3.gif" alt="" class="title" /><br />
<p>" There is hope in dreams, imagination, and in the courage of those who wish to make those dreams a reality"</p>
<p><span class="font_1">- Jonas Salk. </span></p>
<div class="line"></div>
<p>"Innovation is the specific instrument on entrepenuership"<br />

<p>"The act that endows resources with a new capacity to create wealth"</p>
<p><span class="font_1">- Pete F. Drucker.</span></p>
<div class="line"></div>
<p>"Vision Without leadership is unbridled"</p>
<p>"Leadership without vision is uninspired"</p>
<p><span class="font_1">- Unknown</span> </p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
<!-- footer -->
<div id="footer">
AR Marketing Group &copy; 2009 | <a href="index-6.html">Privacy Policy</a>
</div>
</body>
</html>

gnomeontherun
05-06-2009, 10:30 PM
You are missing the ac_runactivecontent.js file in this page, its not in the <head>

I would start with copying what I have written in that post (download and make sure SWFObject is in the head), and change the references to your SWF. You have ?button=2 at the end, might try to remove that and see if that helps. Is it needed? You should send that using SWFObject.