Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    68
    Thanks
    12
    Thanked 0 Times in 0 Posts

    SWF Not Working inside of Web Page

    Okay, I am confused and quite aggravated! I have created a header that has static and dynamic content in Flash 8. It is pretty simple - it is just a regular header with a section on the right that has a slide show fader of different pictures. When I publish and test the SWF by itself - works perfectly fine.

    If I publish and preview the HTML created by flash as an example, it works perfectly fine.

    However, when I embed it into my web site, it only displays the static portions of the SWF, the slideshow does not work - it is just white.

    If I upload the page with the header to my site - it still only shows only the static content of the SWF, but if I navigate directly to the location (on my server), the SWF plays fine.

    I am fairly certain that it is not a path issue because if it was, it would not even show the static content, would it?

    I have even tried to copy the html directly output by FLash and embed it and it has not worked.

    Now, as a side note, this has always been an issue with me. Embarrasingly enough, I have never been able to get a swf to work in a web page, so that means that I am probably missing something that is basic.

    Although, I have DW CS4 and import it using the insert feature, so I am not why it does not work.

    I cannot even get it to work directly in Dreamweaver, when I click the play button.

    Here is the code that I am using:

    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="220" id="movie" title="scoutHeaderMovie">
          <param name="movie" value="../public_html/pack111/flash/image_loader.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="8.0.35.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donít want users to see the prompt. -->
          <param name="expressinstall" value="../Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="../public_html/pack111/flash/image_loader.swf" width="960" height="220">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="8.0.35.0" />
            <param name="expressinstall" value="../Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><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" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
    Additionally, I have the following in the HEAD section:

    Code:
    <script src="../Scripts/swfobject_modified.js" type="text/javascript"></script>
    Can anyone tell me what I am missing?

    Thanks!

    Mike

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    My first guess is that the paths are incorrect on the live site. Do you have a link?
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have the same problem. Have you found out what was wrong?

  • #4
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey guy did you finally figure out this problem?, I'm having the same issue, I'm Screwed!

  • #5
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    guys*

  • #6
    chr
    chr is offline
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anybody found a solution to this? I'm googling and see many similar threads but non have lead to a solution. Anyway I have the same problem, I make swf file that works fine on my computer and when I upload it in my webpage, I don't see the flash at all.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •