Resize 嵌入SWF中心并调整大小
我查看了关于我的问题的每一项帮助,但仍然没有结果。我想让这个swf集中在网页上,并调整大小,使整个swf文件在视图中,无论屏幕大小,我希望它在一个固定的位置像一个bg。我试图实现我在这个网站上看到的每一件事,但几乎没有成功。这是我到目前为止的基础。如果你还需要什么,请告诉我Resize 嵌入SWF中心并调整大小,resize,flash,embed,center,Resize,Flash,Embed,Center,我查看了关于我的问题的每一项帮助,但仍然没有结果。我想让这个swf集中在网页上,并调整大小,使整个swf文件在视图中,无论屏幕大小,我希望它在一个固定的位置像一个bg。我试图实现我在这个网站上看到的每一件事,但几乎没有成功。这是我到目前为止的基础。如果你还需要什么,请告诉我 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" co
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CountdownFX</title>
</head>
<body style="background-color:black; background-attachment: fixed;">
<div id="DivCountdownFX" stye="position:absolute;">
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("CountdownFX.swf", "DivCountdownFX", "1268", "1269", "9.0.0", false, flashvars, params);
</script>
</div>
</body>
</html>
倒计时fx
var flashvars={};
var params={};
params.base=“”;
params.scale=“noscale”;
params.salign=“tl”;
params.wmode=“透明”;
params.allowFullScreen=“true”;
params.allowScriptAccess=“始终”;
swfobject.embeddeswf(“CountdownFX.swf”、“DivCountdownFX”、“1268”、“1269”、“9.0.0”、false、flashvars、params);
首先,从#DivCountdownFX
的内联样式中删除位置:绝对
。然后,创建以下类:
#DivCountdownFX {
margin:auto;
// If the div is fixed-width, use the following line:
width:[the width of your div];
// If your div is fluid width or part of a responsive layout, don't use the above, but rather,
text-align:center;
}
从flash发布时,html是什么?我可以帮你修改