Announcement

Collapse
No announcement yet.

Flash not showing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Flash not showing

    Hi

    I'm having trouble trying to embed my flash file in a fragment. It seems to work in preview but not online!! I've trawled through the previous posts and have tried tweeking as suggested but with no joy!!!

    I've copied the code from adobe.com and only changed the height/width and swf name. I'm at a loss to understand why it's not working.

    The code I'm using is as follows:

    !!<
    <table align="center">

    <td>

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
    WIDTH="350" HEIGHT="300" id="myMovieName"><PARAM NAME=movie VALUE="../images/ckRange.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#FFFFFF>
    <EMBED src="../images/ckRange.swf" quality=high bgcolor=#FFFFFF WIDTH="350" HEIGHT="300"
    NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>


    </td>

    </table>
    >!!
    This piece of code has been embedded into a fragment.

    Any ideas as to why it's not working would be highly appreciated.

    Thanks in anticipation

    Michael

    #2
    You'll need to put your .swf files into the Site folder (not images) and adjust the code to contain just "ckRange.swf".

    You may also have to upload these files via Design / Additional Files.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      You may want to compare it against this of mine that I have successfully used in a fragment in the past.
      Code:
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="140" >
        <param name="movie" value="http://www.mydomain.co.uk/acatalog/myswf.swf">
        <param name="quality" value="high">
        <embed src="http://www.mydomain.co.uk/acatalog/myswf.swf" width="140" height="140" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
      </object>

      Comment


        #4
        Thank you Norman and Duncan - that worked a treat. The flash movie is now showing - at last!!!!

        Michael

        Comment


          #5
          Inserting Flash Files

          Note that there are more up to date methods of inserting Flash files into HTML pages - notably "SWFObject". Google "swfobject" and go to the Adobe site link (Flash is now owned by Adobe, not Macromedia). Amongst other things, this method avoids the thick grey border which surrounds Flash files when you mouseover, and the need to "click to activate this control" which is a pain in the derriere if the Flash is interactive - these came in after changes to IE last year.

          Aquazuro - designer stainless steel accessories

          Comment


            #6
            I find that direct URL's is the only way to successfully get actinic to see flash.

            Hence the above post..

            Comment


              #7
              And for the benefit of FF viewers, this must also cascade down to the object data (if still using this method) or your swf will not play.

              Regards
              Daren
              Affordable solutions for busy professionals.
              Website Maintenance | UK Web Hosting

              Comment


                #8
                Originally posted by danlou84
                I find that direct URL's is the only way to successfully get actinic to see flash.
                I'm not a huge fan of direct url's. The code I use avoids this - it's from the adobe site.

                Where I was going wrong was not having the swf file in the site1 folder as suggested by Norman - this is because (I've just found out) Flash expects the file to be in the same folder!! Probably a Flash security feature

                Code:
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="350" height="300" >
                  <param name="movie" value="../myMovie.swf">
                  <param name="quality" value="high">
                  <embed src="../myMovie.swf" width="350" height="300" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
                </object>

                You just need to change the bits in red to suit your needs and that's it. Also, be aware that if it doesn't show up in preview, you'll need to copy the swf file to the PreviewHtml folder.

                Make sure the code in blue remains - else it wont pick up your swf file.

                HTH

                Michael

                Comment


                  #9
                  Adobe now use SWFObject - see above, and also view the code for the large Flash banner at the top of their home page.

                  Aquazuro - designer stainless steel accessories

                  Comment

                  Working...
                  X