Skip navigation
OrrinHoffman
Currently Being Moderated

Publishing an SWF files to upload to the web

May 27, 2011 8:40 PM

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?

 
Replies
  • Currently Being Moderated
    May 28, 2011 4:15 AM   in reply to OrrinHoffman

    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.g if" 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

     
    |
    Mark as:
  • Currently Being Moderated
    May 29, 2011 7:00 AM   in reply to OrrinHoffman

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points