9 Replies Latest reply on May 22, 2007 12:02 PM by Damon Edwards

    FLASH BLANK PAGE PROBLEM!!!

    Rantar
      Hi... Sory my English.. Im Argentine..

      my website page is http://www.rantar.com.ar

      Rantar

      when some people wants in my page... they tellme "I cant see that... y see only a blank page"... but sometimes it works if you press 3 or 4 times F5... the people can see my page...

      somtimes i see only a background "sky".. of my flash film.. and press F5.. and work.. what is that?...

      I think what the player detect the film in another old version... for example 6.. and later when i refresh it detect in the correct version..!!!!

      thanks you... for your paciense. Gustavo
        • 2. Re: FLASH BLANK PAGE PROBLEM!!!
          Rantar Level 1
          thanks so mutch.. but... if i change that...it me download the flash 8...

          i need the 9... for the "fullscreen-mode"...

          =(

          i might have to release the fullscreen version... =(... what do you think???
          • 3. Re: FLASH BLANK PAGE PROBLEM!!!
            Damon Edwards Level 3
            no, its just going to make sure you have at least version 8 to view the page... if it doesnt work, you can paste your code right back in there
            • 4. Re: FLASH BLANK PAGE PROBLEM!!!
              Rantar Level 1
              Thanksssss... look i have these html codes... my msn is gmzitelli@hotmail.com.. Thanskkk

              Index.html > Index.swf (these detects the flash player version and run the detection kit if the pleople dont have the flash 9)

              when it done the page will redirect to indexintro/intro.html > intro.swf and wallaaa.. =).. my home!!!...

              the code of index.html and intro.html is here...
              ----------------------------------------------------------------------------------------
              <!-- saved from url=(0013)about:internet -->
              <html lang="en">
              <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
              <title>Instalador de Flash Player</title>
              <script src="AC_OETags.js" language="javascript"></script>
              <script language="JavaScript" type="text/javascript">

              var requiredMajorVersion = 9;

              var requiredMinorVersion = 0;

              var requiredRevision = 0;

              </script>
              </head>

              <body>
              <div align="center">
              <script language="JavaScript" type="text/javascript">

              var hasProductInstall = DetectFlashVer(6, 0, 65);

              // Version check based upon the values defined in globals
              var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);


              // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
              if ( hasProductInstall && !hasReqestedVersion ) {

              var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
              var MMredirectURL = window.location;
              document.title = document.title.slice(0, 47) + " - Flash Player Installation";
              var MMdoctitle = document.title;

              AC_FL_RunContent(
              "src", "autoinstaller",
              "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"" ,
              "width", "100%",
              "height", "100%",
              "align", "middle",
              "id", "detectionExample",
              "quality", "high",
              "bgcolor", "#3A6EA5",
              "name", "detectionExample",
              "allowScriptAccess","sameDomain",
              "type", "application/x-shockwave-flash",
              "pluginspage", " http://www.adobe.com/go/getflashplayer"
              );
              } else if (hasReqestedVersion) {
              // if we've detected an acceptable version
              // embed the Flash Content SWF when all tests are passed
              AC_FL_RunContent(
              "src", "index",
              "width", "550",
              "height", "400",
              "align", "middle",
              "id", "detectionExample",
              "quality", "high",
              "bgcolor", "#FFFFFF",
              "name", "detectionExample",
              "allowScriptAccess","sameDomain",
              "type", "application/x-shockwave-flash",
              'codebase', ' http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
              "pluginspage", " http://www.adobe.com/go/getflashplayer"
              );
              } else {
              // flash is too old or we can't detect the plugin
              var alternateContent = '<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>El equipo Rantar dice que no tenes el Flash Player instalado correctamente en su PC.<BR>'
              + 'Para ver nuestra page si o si necesitas bajarlo desde aqui... '
              + '<a href=http://www.adobe.com/go/getflash/>Bajar Aqui</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 and a browser with JavaScript enabled.
              <a href=" http://www.adobe.com/go/getflash/">Get Flash</a>
              </noscript>
              </div>
              </body>
              </html>
              ----------------------------------------------------- AND THE INTRO.HTML IS HERE

              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
              <html xmlns=" http://www.w3.org/1999/xhtml">
              <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <title>Rantar Equipo de Creativos</title>
              <style type="text/css">
              <!--
              .swfcentro {
              position: absolute; /*Posicionamiento absoluto*/
              top: 50%; /*Desde arriba, colocar al 50% de la pantalla*/
              left: 50%; /*Desde la izquierda, colocar al 50% de la pantalla*/
              margin-top: -250px; /*Restamos la mitad de alto del SWF para centrarlo verticalmente*/
              margin-left: -475px; /*Restamos la mitad de ancho del SWF para centrarlo horizontalmente*/
              }
              body {
              background-color: #FFFFFF;
              }
              -->
              </style>
              <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
              </head>
              <body>
              <div class="swfcentro">
              <script type="text/javascript">
              AC_FL_RunContent( 'codebase',' http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0','n ame','fullscreen','width','950','height','500','align','middle','id','fullscreen','src','i ntro','allowfullscreen','true','bgcolor','#FFFFFF','pluginspage','http://www.macromedia.co m/go/getflashplayer','movie','intro' ); //end AC code
              </script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
              codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" name="fullscreen"
              width="950" height="500" align="middle" id="fullscreen">
              <param name="allowFullScreen" value="true" />
              <param name="movie" value="intro.swf" />
              <param name="bgcolor" value="#FFFFFF" />
              <embed src="intro.swf" allowFullScreen="true" bgcolor="#FFFFFF" width="950" height="500"
              name="fullscreen" align="middle" type="application/x-shockwave-flash"
              pluginspage=" http://www.macromedia.com/go/getflashplayer" />
              </object></noscript>
              </div>
              </body>
              </html>
              • 5. Re: FLASH BLANK PAGE PROBLEM!!!
                Damon Edwards Level 3
                is your flash content CS3
                • 6. Re: FLASH BLANK PAGE PROBLEM!!!
                  Rantar Level 1
                  Yes... I have the flash CS3... but im exporting in Action Script 2.0..

                  the swf is made in flash cs3....

                  • 7. Re: FLASH BLANK PAGE PROBLEM!!!
                    Damon Edwards Level 3
                    re-looking at the site, it seems it might be a problem with the preloader... once i finally get your site to the intro page, if i refresh, or close browser and go back, it works fine without any hiccups (basically once page has been cached).. your site loads fast, but it seems there might be a problem in re-directing after the preloader ends.... maybe look into that, or attach your preloader script to a reply
                    • 8. Re: FLASH BLANK PAGE PROBLEM!!!
                      Rantar Level 1
                      here my preloader code...

                      function cargando() {
                      var total, cargados, porcentaje;
                      total = _root.getBytesTotal();
                      cargados = _root.getBytesLoaded();
                      porcentaje = Math.floor((cargados*100)/total);
                      porcentaje_txt.text = porcentaje+" %";
                      barra_mc.gotoAndStop(porcentaje);
                      if (cargados == total) {
                      clearInterval(hiloPrecarga);
                      play();
                      }
                      }
                      var hiloPrecarga = setInterval(cargando, 1);
                      stop();

                      what do you think?
                      • 9. Re: FLASH BLANK PAGE PROBLEM!!!
                        Damon Edwards Level 3
                        for play(); can you replace with gotoAndPlay(frame movie begins);