Visualizzazione dei risultati da 1 a 6 su 6

Discussione: stage html

  1. #1

    stage html

    Ciao a tutti, ho un problema con un sito in flash ma di cui credo che i reali problemi siano nell'html.

    Io vorrei che qualora le dimensioni dello schermo o della finestra del browser siano troppo piccoli, appaia almeno lo scroll verticale. Dove sbaglio?

    Questo è il mio html:


    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled</title>

    <script language="javascript"> AC_FL_RunContent = 0; </script>
    <script language="javascript"> DetectFlashVer = 0; </script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    // -----------------------------------------------------------------------------
    // Globals
    // Major version of Flash required
    var requiredMajorVersion = 8;
    // Minor version of Flash required
    var requiredMinorVersion = 0;
    // Revision of Flash required
    var requiredRevision = 24;
    // -----------------------------------------------------------------------------
    // -->
    </script>
    <style type="text/css">
    <!--body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color: #000000;
    }

    -->
    </style>
    </head>
    <body bgcolor="#000000">


    <script language="JavaScript" type="text/javascript">
    <!--
    if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) { // if we've detected an acceptable version
    // embed the flash movie
    AC_FL_RunContent(
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
    'width', '100%',
    'height', '100%',
    'src', 'stage',
    'quality', 'best',
    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'transparent',
    'devicefont', 'true',
    'id', 'stage',
    'bgcolor', '#000000',
    'name', 'stage',
    'menu', 'true',
    'allowScriptAccess','sameDomain',
    'allowFullScreen','true',
    'movie', 'stage',
    'salign', 'lt'
    ); //end AC code
    } else { // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here.'
    + 'This content requires the Adobe Flash Player.'
    + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent); // insert non-flash content
    }
    }
    // -->
    </script>
    <noscript>
    // Provide alternate content for browsers that do not support scripting
    // or for those that have scripting disabled.
    Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
    Get Flash
    </noscript>
    </body>
    </html>


    Grazie 1000 a tutti
    Io_FraNo

  2. #2
    nessuna risposta?!
    Io_FraNo

  3. #3
    Originariamente inviato da Io_FraNo
    nessuna risposta?!
    inserisci il movie flash all'interno di un div con altezza e larghezza precisa.

    codice:
    <div style="margin:auto; width:500px; height:500px;">
    movie_flash
    </div>

  4. #4
    grazie ma dove inserisco questo codice?!
    Io_FraNo

  5. #5
    Originariamente inviato da Io_FraNo
    grazie ma dove inserisco questo codice?!


    in questoi modo


    codice:
    <body bgcolor="#000000">
    
    <div style="height:alterzza movie in pixel; width:larghezza movie in pixel; margin:distanza dal margine;"> 
    
    
    
    
    <script language="JavaScript" type="text/javascript">
    <!--
    if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) { // if we've detected an acceptable version
    // embed the flash movie
    AC_FL_RunContent(
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
    'width', '100%',
    'height', '100%',
    'src', 'stage',
    'quality', 'best',
    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'transparent',
    'devicefont', 'true',
    'id', 'stage',
    'bgcolor', '#000000',
    'name', 'stage',
    'menu', 'true',
    'allowScriptAccess','sameDomain',
    'allowFullScreen','true',
    'movie', 'stage',
    'salign', 'lt'
    ); //end AC code
    } else { // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here.'
    + 'This content requires the Adobe Flash Player.'
    + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent); // insert non-flash content
    }
    }
    // -->
    </script>
    <noscript>
    // Provide alternate content for browsers that do not support scripting
    // or for those that have scripting disabled.
    Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
    Get Flash
    </noscript>
    
    
    </div>
    
    </body>

  6. #6
    grazie... ma non funza!
    Io_FraNo

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.