我的网站加载有问题。这是嵌入index.html的.SWF文件

时间:2012-07-13 13:25:59

标签: html css javascript flash xhtml

我的网站http://www.KushKouture.com/似乎无法在任何网络浏览器中正确加载。闪存似乎在那里,因为我可以右键单击以获得预期的闪存选项,但.SWF不会播放。

我已将index.html中的代码包含在您的评论中。不确定是否遗漏/不正确。

<!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" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html"; charset="UTF-8" />
<meta name="author" content="Kush Kouture" />
<meta name="keywords" content="Kush Kouture, men's lifestyle and street apparel clothing company" />
<meta name="description" content="Kush Kouture is an upcoming, upmarket men's lifestyle and street apparel clothing company. The brand is exclusively manufactured in the UK and currently, based solely online. Inspired by the 'Lifestyle' culture, the brand has conceived its designs based on influences from a variety of musical genres ranging from Punk Rock to Hip-Hop, along with many traits from today's teen demographic." />

<title>Kush Kouture</title>

<script type="text/javascript" src="swfobject.js"></script>   
<script type="text/javascript" src="swfaddress.js"></script>   
<script type="text/javascript" src="swffit.js"></script>   
<script type="text/javascript">   
var flashvars = {};   
flashvars.url_config = "xml/configuration_site.xml";   
flashvars.initServices = true;   
var params = {};   
params.allowfullscreen = true;   
params.allowScriptAccess = "always";
params.play = true;   
var attributes = {};   
attributes.id = 'flashObject';   
attributes.bgcolor = '#000000';   

swfobject.embedSWF("index.swf", "flashContent", "100%", "100%", "8",false, flashvars, params, attributes);  
</script>

<style type="text/css">
    /* hide from ie on mac \*/
    html {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #flashContent {
        width: 100%;
        height: 100%;
    }
    /* end hide */

    body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background-color: #ffffff;
    }
    p {

    font-size: 10px;
    font-family: Verdana;
    line-height:17px;
    color:#ffffff;

} 
.style1 {
    font-size: 11px;
    font-family: Verdana;
    color:#ffffff;
    text-transform:uppercase;
}
</style>

</head>
<body>

<div id="flashContent">
<p style="color:#999999">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kush Kouture | You require the latest version of Adobe Flash Player. Please click the image below to download this.</p>   
<p><a href="http://get.adobe.com/flashplayer/"><img src="flash.jpg" alt="Get Adobe Flash player" /></a></p>
</div>   

</body>
</html>

我希望有人能提供帮助!此致

2 个答案:

答案 0 :(得分:0)

您知道您使用的服务器类型吗?如果是IIS,则需要确保将其设置为使用文件扩展名。

答案 1 :(得分:0)

正在加载Flash文件并且它正在播放。

如果您多次按Tab键,闪存辅助功能助手将被激活,您可以看到黄色矩形标记全屏按钮的位置。

我的猜测是菜单系统没有加载,因为你在其中一个-many-XML文件中有语法错误。