{lang: 'de'}
Flashhilfe.de - Flash Community
 
  Flashkurse > Flash 4 > Vollbild  
 
 

Seite drucken ::

Autor: Sebastian Wichmann
Webseite: flashhilfe.de

1) Erstell eine HTML Datei mit folgendem Inhalt:

    <html>
    <head>
    <title>flashhilfe.de</title>

    <script language="JAVASCRIPT"><!--
    var platform;
    var browser;
    var version;
    var adjWidth;
    var adjHeight;
    version = parseInt(navigator.appVersion);
    if(navigator.userAgent.indexOf('Win') == -1) {
      platform = 'Macintosh';
    } else {
      platform = 'Windows';
    }
    if(navigator.appName.indexOf('Netscape') == -1) {
      browser = 'IE';
    } else {
      browser = 'Netscape';
    }
    function EnterSite(){

      if((platform == 'Windows') && (browser == 'IE')) {
      window.open("intro.html","home","fullscreen=yes");
      } else {
      FullScreen();
      }
    }
    function FullScreen(){

      if((platform == 'Macintosh') && (browser == 'Netscape')) {
        adjWidth = 20;
        adjHeight = 35;
      }
      if((platform == 'Macintosh') && (browser == 'IE')) {
        adjWidth = 20;
        adjHeight = 35;
        winOptions = 'fullscreen=yes';
      }
      if((platform == 'Windows') && (browser == 'Netscape')) {
        adjWidth = 12;
        adjHeight = 12;
      }
      if((platform == 'Macintosh') && (browser == 'IE')) {
        self.location.href = 'intro.html';
      }
      if(version < 4) {
        self.location.href = 'intro.html';
      } else {
        var winWidth = screen.availWidth - adjWidth;
        var winHeight = screen.availHeight - adjHeight;
        var winSize = 'width=' + winWidth + ',height=' + winHeight;
        var FlashhilfeWin = window.open('intro.html', 'Intranet', winSize);
        FlashhilfeWin.moveTo(0,0);
      }
    }
    // -->
    </script>

    </head>
    <body>

    <script language="JavaScript"><!--
  if((platform == 'Macintosh') && (browser == 'IE')) {
  location.href = "intro.html"
  }
  // -->
    </script>

    <a href="#" onclick='EnterSite();'>Intro</a>

    </body>
    </html>


2) An den Stellen an denen die Schriftfarbe Rot wird,
  musst Du denn Pfad angeben der zur Deiner HTML-Seite mit dem Flash-Intro führt.


3) Die Seite mit dem Flash-Intro (intro.html) sollte so aussehen:

  <!-- URL's used in the movie-->
  <!-- text used in the movie-->
  <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
  ID=Intro WIDTH=100% HEIGHT=100%>
  <PARAM NAME=Intro VALUE="Intro.swf">
  <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>
  <EMBED src="Intro.swf" quality=high bgcolor=#FFFFFF WIDTH=100% HEIGHT=100%
  TYPE="application/x-shockwave-flash"
  PLUGINSPAGE="http://www.macromedia.com/shockwave/download/">
  </EMBED>
  </OBJECT>

Info) Für Fragen stehen natürlich immer unsere Flash-Foren zu Verfügung!

Drucken) Seite drucken.



Vollbild download ( 11.35 KB )


«« zurück   Auswahl   vor »»


Alle Inhalte gehören zu flashhilfe.de
 
 
Partner Webseiten: art-and-law.de  Mediengestalter.info   phpwelt.de   Scubacube.de  
Haftungsausschluss   Datenschutzerklärung   Impressum
© 1999-2024 Sebastian Wichmann - Flashhilfe.de