5 Replies Latest reply on May 31, 2011 5:45 PM by OrrinHoffman

    Publishing an SWF files to upload to the web

    OrrinHoffman

      I made a flash banner for my website in adobe Catalyst. I saved the file as Swf fil for web servers. I can upload that folder using FTP to my website server. I just don't know where to go from here. I want to be able to get some sort of html or CSS code to place the player in my website but don't know how to get it. Any help?

        • 1. Re: Publishing an SWF files to upload to the web
          Tanya Heins

          Hi Orrin,

           

          You can find the html code in the Main.html file generated by Flash Catalyst.  This file is in the deploy-to-web folder that is generated when you publish your project.

           

          The section of code you want will look something like this:

           

          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="920" height="300" id="Main">

                          <param name="movie" value="Main.swf" />

                          <param name="quality" value="high" />

                          <param name="bgcolor" value="#333333" />

                          <param name="allowScriptAccess" value="sameDomain" />

                          <param name="allowFullScreen" value="true" />

                          <!--[if !IE]>-->

                          <object type="application/x-shockwave-flash" data="Main.swf" width="920" height="300">

                              <param name="quality" value="high" />

                              <param name="bgcolor" value="#333333" />

                              <param name="allowScriptAccess" value="sameDomain" />

                              <param name="allowFullScreen" value="true" />

                          <!--<![endif]-->

                          <!--[if gte IE 6]>-->

                              <p>

                                  Either scripts and active content are not permitted to run or Adobe Flash Player version

                                  10.2.0 or greater is not installed.

                              </p>

                          <!--<![endif]-->

                              <a href="http://www.adobe.com/go/getflashplayer">

                                  <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />

                              </a>

                          <!--[if !IE]>-->

                          </object>

                          <!--<![endif]-->

                      </object>

           

           

          Remember that you will need to make sure that the path to your Main.swf within your deploy-to-web folder is accurate.  You may need to adjust this path as you put this code in your webpage to point to the project in the deploy-to-web folder.  Be sure to keep all resources in this folder.

           

          Hope this helps.


          Tanya

          • 2. Re: Publishing an SWF files to upload to the web
            OrrinHoffman Level 1

            Tanya,

             

            Every time I try to open the main.html file with text edit it just appears

            as a small swf.file thumbnail in the text box. I'm sending a picture of it

            if that helps.

            • 3. Re: Publishing an SWF files to upload to the web
              OrrinHoffman Level 1

              I got the code, I just want to know what i need to change in the code to

              direct it to the play I uploaded?

              • 4. Re: Publishing an SWF files to upload to the web
                Tanya Heins Level 1

                Super.  Guess you figured out that you need to open your html page in an html editor like Dreamweaver.

                 

                Tell us about the html page(where you want to place the code) and it's folder relationship to the Fc pubished project.  Is it in the same directory as your published Flash Catalyst project? Or is it a few directories above? You'll need to change the reference to Main.swf in your html code to point to the directory where you have published your project.

                 

                Tanya

                • 5. Re: Publishing an SWF files to upload to the web
                  OrrinHoffman Level 1

                  I want to place the code on the home page of my website. I upload the

                  catalyst project files to the server in the folder it creates after

                  publishing it (I renamed it from deploy to web to frontpagebanner.  I'm not

                  sure what the difference in directories is. Do I change the swf reference to

                  this for example "www.recoverrecords.com/Frontpagebanner ?

                   

                  Thanks for your help.

                   

                  Orrin