I gotta publish on flash platform.
I found the param <param name="bgcolor" value="#ff0000" />
work perfectly
but the param
<param name="progressbarimage" value="blue.PNG" />
<param name="progressframeimage" value="white.PNG" />
<param name="logoimage" value="logo.PNG" />
"
does not work!!! Why?
My questions are:
- Aren’t they supported on flash export???
2.If they are supported, how to use? Or how to work around to customize my progress bar on flash version?
3.Can I hide the progressbar if I needn’t it?
The flowing is my webplayer.html:
"I attach my webplayer.html here:<!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" lang="en" xml:lang="en">
<head>
<title>Unity ggzy.swf</title>
<style type="text/css">
body
{
text-align: center;
}
#content {
width: 760px;
margin-left: auto;
margin-right: auto;
height: 500px;
}
#container
{
position: absolute;
top: 50%;
margin-top: -250px;/* half of #content height*/
left: 0;
width: 100%;
text-align: left;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("unityPlayer", "11.0.0");
</script>
</head>
<body>
<div id="container">
<div id="content">
<object classid="clsid:smile:27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="800" id="unityPlayer">
<param name="movie" value="ggzy.swf" />
<param name="scale" value="noscale" />
<param name="wmode" value="direct" />
<param name="bgcolor" value="#ff0000" />
<param name="progressbarimage" value="blue.PNG" />
<param name="progressframeimage" value="white.PNG" />
<param name="logoimage" value="logo.PNG" />
<param name="devicefont" value="false" />
<param name="swliveconnect" value="false" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="allownetworking" value="all" />
<param name="menu" value="false"/>
<param name="flashvars" value="unitydebug=false&deeptrace=false" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="ggzy.swf" width="760" height="500">
<param name="scale" value="noscale" />
<param name="wmode" value="direct" />
<param name="bgcolor" value="#00ffff" />
<param name="devicefont" value="false" />
<param name="swliveconnect" value="false" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="allownetworking" value="all" />
<param name="menu" value="false"/>
<param name="progressbarimage" value="blue.PNG" />
<param name="progressframeimage" value="white.PNG" />
<param name="logoimage" value="logo.PNG" />
<param name="flashvars" value="unitydebug=false&deeptrace=false" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</div>
</body>
</html>