I am new to Gaia and am in the process of building my site. I am currently hosting the sample site on my localhost and having trouble with the embedding of the swf.
Why am I seeing all of my assets that are outside of my swf's stage area? I have built this site previously outside of Gaia, generating the index.html from Flash CS4 and had no problems like I'm having in Gaia.
I realize this is probably a very simple fix but have not been unable to find any help with it. Please, any help would be greatly apprieciated, I need to get beyound this point. What I am looking for is for the swf to fill the browser window.
Below is my index.html.
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gaia Framework Site</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/swfaddress.js"></script>
<script type="text/javascript">
var params = {
quality: "high",
scale: "exactfit",
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);
</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">
<!--SEO-->
<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 allows you to leave out <code>noscript</code>
tags. Include a link to <a href="index.html?detectflash=false">bypass the detection</a> if you wish.</p>
</div>
</div>
</body>
</html>