Visualizzazione dei risultati da 1 a 7 su 7

Discussione: full screen

Hybrid View

  1. #1

    full screen

    ciao ho questo problema praticamente per caricare il mio sfondo che è una img di 1024*1280 su un fullscreen uso questo codice:

    Codice PHP:
    larghezza Stage.width
    Stage
    .align "TL";
    Stage.scaleMode "noScale";
    Stage.showMenu false;

    this.onEnterFrame = function()
    {
        
    this.preload._x Math.floor(Stage.width this.preload._width 2);
        
    this.preload._y Math.floor(Stage.height this.preload._height 2);
        
    byl this.getBytesLoaded();
        
    byt this.getBytesTotal();
        if( 
    byt 10 )
        {
            
    perc Math.round(byl 100 byt);
            
    this.preload.percentuale.text "load background" "  " perc "%";
            if(
    byl >= byt)
            {
                
    this.onEnterFrame undefined;
                
    this.nextFrame();
            }
        }
    }
    stop(); 
    e fin qui tutto ok il problema sta nel fatto che se uno ridimensiona il browser anche di 1 mm mi rimpicciolisce tutto lo sfondo... allego le img per capire....
    Immagini allegate Immagini allegate
    • Tipo di file: gif 1.gif‎ (21.2 KB, 103 visualizzazioni)

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 © 2025 vBulletin Solutions, Inc. All rights reserved.