Search Unity

The param progressbarimage is not support for flash version in webplayer? Help!

Discussion in 'Scripting' started by josszp, Aug 27, 2012.

  1. josszp

    josszp

    Joined:
    Jul 15, 2010
    Posts:
    13
    I gotta publish on flash platform.
    I found the param
    Code (csharp):
    1. <param name="bgcolor" value="#ff0000" />
    work perfectly
    but the param
    Code (csharp):
    1.  
    2. <param name="progressbarimage" value="blue.PNG" />
    3. <param name="progressframeimage" value="white.PNG" />
    4. <param name="logoimage" value="logo.PNG" />
    5. "
    does not work!!! Why?
    My questions are:
    1. 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:
    <param name="progressbarimage" value="blue.PNG" />"I attach my webplayer.html here:
    Code (csharp):
    1.  
    2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    4.     <head>
    5.         <title>Unity ggzy.swf</title>
    6.         <style type="text/css">
    7.         body
    8.         {
    9.             text-align: center;
    10.         }
    11.                
    12.         #content {
    13.            width: 760px;
    14.            margin-left: auto;
    15.            margin-right: auto;
    16.            height: 500px;
    17.         }
    18.        
    19.         #container
    20.         {
    21.             position: absolute;
    22.             top: 50%;
    23.             margin-top: -250px;/* half of #content height*/
    24.             left: 0;
    25.             width: 100%;
    26.             text-align: left;
    27.         }
    28.                
    29.         </style>
    30.         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    31.         <script type="text/javascript" src="swfobject.js"></script>
    32.         <script type="text/javascript">
    33.             swfobject.registerObject("unityPlayer", "11.0.0");
    34.         </script>
    35.     </head>
    36.     <body>
    37.         <div id="container">
    38.             <div id="content">
    39.                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="800" id="unityPlayer">
    40.                     <param name="movie" value="ggzy.swf" />
    41.                     <param name="scale" value="noscale" />
    42.                     <param name="wmode" value="direct" />
    43.                     <param name="bgcolor" value="#ff0000" />
    44.                     <param name="progressbarimage" value="blue.PNG" />
    45.                     <param name="progressframeimage" value="white.PNG" />
    46.                     <param name="logoimage" value="logo.PNG" />
    47.                     <param name="devicefont" value="false" />
    48.                     <param name="swliveconnect" value="false" />
    49.                     <param name="allowfullscreen" value="true" />
    50.                     <param name="allowscriptaccess" value="always" />
    51.                     <param name="allownetworking" value="all" />
    52.                     <param name="menu" value="false"/>
    53.                     <param name="flashvars" value="unitydebug=false&deeptrace=false" />
    54.                     <!--[if !IE]>-->
    55.                     <object type="application/x-shockwave-flash" data="ggzy.swf" width="760" height="500">
    56.                         <param name="scale" value="noscale" />
    57.                         <param name="wmode" value="direct" />
    58.                         <param name="bgcolor" value="#00ffff" />
    59.                         <param name="devicefont" value="false" />
    60.                         <param name="swliveconnect" value="false" />
    61.                         <param name="allowfullscreen" value="true" />
    62.                         <param name="allowscriptaccess" value="always" />
    63.                         <param name="allownetworking" value="all" />
    64.                         <param name="menu" value="false"/>
    65.                         <param name="progressbarimage" value="blue.PNG" />
    66.                         <param name="progressframeimage" value="white.PNG" />
    67.                         <param name="logoimage" value="logo.PNG" />
    68.                         <param name="flashvars" value="unitydebug=false&deeptrace=false" />
    69.                     <!--<![endif]-->
    70.                         <a href="http://www.adobe.com/go/getflashplayer">
    71.                             <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    72.                         </a>
    73.                     <!--[if !IE]>-->
    74.                     </object>
    75.                     <!--<![endif]-->
    76.                 </object>
    77.             </div>
    78.         </div>
    79.     </body>
    80. </html>
    81.  
     
  2. josszp

    josszp

    Joined:
    Jul 15, 2010
    Posts:
    13
    Nobody can help me????
    But it is such a base question!!! Anybody help me???