我正在使用Gaia Framework在Flash中构建网站。我确实试过了这个网站上的solution。
<!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>
<link rel="alternate" type="application/rss+xml" title="Sitemap" href="sitemap.xml"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gaia Framework Website</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/swfaddress.js"></script>
<script type="text/javascript" src="js/swffit.js"></script>
<script type="text/javascript">
var params = {
quality: "high",
scale: "noScale",
wmode: "window",
allowscriptaccess: "always",
bgcolor: "#FFFFFF"
};
var flashvars = {
siteXML: "xml/site.xml"
};
var attributes = {
id: "flashcontent",
name: "flashcontent"
};
swfobject.embedSWF("main.swf", "flashcontent", "100%", "100%", "9.0.124", "expressInstall.swf", flashvars, params, attributes);
swffit.fit("flashcontent",1920,1080);
</script>
<style type="text/css">
/*hide from ie on mac\*/
html {
height: 100%;
overflow: hidden
}
#flashcontent {
width: 100%;
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FFFFFF;
}
</style>
</head>
<body>
<div id="flashcontent">
<div id="alternateContent">
<h1>Gaia Framework Website</h1>
<h2>Index</h2>
<ul id="sitenav">
<li><a href="index.html">Index</a></li>
</ul>
<div id="copy">
<p id="sample">Sample</p>
</div>
</div>lows you to leave out <code>noscript</code>
tags. Include a link to <a href="index.html?detectfl
<div id="noflash">
<p><strong>You need to upgrade your Flash Player</strong></p>
<p>This is replaced by the Flash content.</p>
<p>Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here alash=false">bypass the detection</a> if you wish.</p>
</div>
</div>
</body>
</html>
唯一的调整是在HTML上,我没有在AS3中编写它。但它仍然没有调整大小以适应浏览器。