Flash Einstellung für Veröffentlichung

ManuelaFlash

Grünschnabel
Hallo,

hab eine Website in Flash mit der Größe von 550x400 Pixel. Würde diese nun gerne veröffentlichen, aber weiß nicht genau, welche Einstellung wofür sind.

Wollte mal nachfragen, ob mir jemand kurz erklären könnte, welche Einstellung wofür sind.

Danke!
 
Habe in index.html die meinfilm.swf geladen. funktioniert auch einwandfrei. nur das problem ist, dass ich die swf-datei etwas verkleinern will (also nicht 100% der größe übernehmen, sondern auf 80% reduzieren. aber dann zeigt es mir die seite nicht mehr zentriert (d.h. dass die seite genau in der Mitte des Bildschirms steht) und um den bildschirm herum ist ein komischer weißer rahmen.

Was muss ich tun?

Hier der Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="meinfilm" align="">
<param name="movie" value="meinfilm.swf">
<param name="menu" value="false">
<param name="quality" value="high">
<param name="bgcolor" value="#CCCCCC">
<EMBED src="meinfilm.swf" quality=high bgcolor=#CCCCCC WIDTH="80%" HEIGHT="80%" NAME="meinfilm" ALIGN="center"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</object>

und so siehts aus:
http://www.4promotion.at/

(Der komplette Hintergrund sollte hellgrau sein)
 
Hi,

stellst du dir das so vor?
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>4 Promotion</title>

<style type="text/css">
<!--
html,body {
height:100%;
margin:0;
padding:0;
}

body {
background:#ccc;
}

div#wrapper {
width:80%;
height:80%;
margin:0 auto;
}

/* hides the second object from all versions of IE */
* html object.mov {
    display: none;
}
/* displays the second object in all versions of IE apart from 5 on PC */
* html object.mov/**/ {
    display: inline;
}
/* hides the second object from all versions of IE >= 5.5 */
* html object.mov {
    display/**/: none;
}
-->
</style>
</head>
<body>

<div id="wrapper">

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="meinfilm">
<param name="movie" value="meinfilm.swf">
<param name="menu" value="false">
<param name="quality" value="high">
<param name="bgcolor" value="#cccccc">
        <object type="application/x-shockwave-flash" class="mov" data="meinfilm.swf" width="100%" height="100%">
                <param name="movie" value="meinfilm.swf">
                <param name="quality" value="high">
                <param name="bgcolor" value="#cccccc">
                Error text.
        </object>
</object>

</div>

</body>
</html>


mfg Maik
 
Ja, so ungefähr sollts aussehen. Jetzt müsste das Ganze nur noch in der Mitte (also auch von oben, nicht nur seitlich) stehen. Gehts das auch irgendwie?

LG
Manuela
 
Sicherlich ist dies möglich, aber bitte jetzt nicht erschrecken ob des vielen Codes :)

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>4 Promotion</title>

<style type="text/css">
<!--
* {margin:0;padding:0}
/* mac hide \*/
html,body{height:100%;width:100%;}
/* end hide */
body {
        text-align:center;
        background:#ccc;
}
#xouter{
        height:100%;
        width:100%;
        display:table;
        vertical-align:middle;
}
#xcontainer {
        text-align:center;
        position:relative;
        vertical-align:middle;
        display:table-cell;
        height:100%;
}
#xinner {
        width:80%;
        height:80%;
        text-align:left;
        margin-left:auto;
        margin-right:auto;
}


/* hides the second object from all versions of IE */
* html object.mov {
        display: none;
}
/* displays the second object in all versions of IE apart from 5 on PC */
* html object.mov/**/ {
        display: inline;
}
/* hides the second object from all versions of IE >= 5.5 */
* html object.mov {
        display/**/: none;
}
-->
</style>
<!--[if lte IE 8]>
<style type="text/css">
#xouter{display:block}
#xcontainer{top:50%;display:block}
#xinner{height:100%;top:-50%;position:relative}
</style>
<![endif]-->

<!--[if IE 7]>
<style type="text/css">
#xouter{
position:relative;
overflow:hidden;
}
</style>
<![endif]-->

</head>
<body>

<div id="xouter">
     <div id="xcontainer">
          <div id="xinner">
               <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="meinfilm">
                       <param name="movie" value="meinfilm.swf">
                       <param name="menu" value="false">
                       <param name="quality" value="high">
                       <param name="bgcolor" value="#cccccc">
                       <object type="application/x-shockwave-flash" class="mov" data="meinfilm.swf" width="100%" height="100%">
                               <param name="movie" value="meinfilm.swf">
                               <param name="quality" value="high">
                               <param name="bgcolor" value="#cccccc">
                               Error text.
                       </object>
               </object>
          </div>
     </div>
</div>

</body>
</html>


mfg Maik
 
Super! Vielen, vielen Dank! :)

Gibt es Bücher oÄ, wo ich solche Sachen bezüglich Flash nachlesen kann? Will mich ja auch weiterbilden :D
 
*hüstel* Hier hat die Formatierungssprache CSS für die "Einstellung" gesorgt :)

mfg Maik
 

Neue Beiträge

Zurück