16 Replies Latest reply on Jan 2, 2011 4:27 PM by hans-g.

    SWF File wont play.

    TxMaverick

      Hello

      I have a problem getting my SWF files to play once they are published to the site.

       

      The site is

      http://www.cutpro-video.com/index.html

       

      I can preview the swf file fine in CS4 and even in FLash CS4. I can also play it in a Flash 10 player. However when published I just get the skin showing and the player looks like its running, but there is no movie. Not sure what is happening. I have my scripts all loaded and and my skin swf files look in the right place. Hoping someone can give me some different checklists. I've been to FlashKit, Kirupa, and Creative Cow and have been troubleshooting looking for solutions and haven't had any luck. Any help is appreciated!

      Thanks

        • 1. Re: SWF File wont play.
          3dserge

          try downloading this file: www.topvizstudio.com/AC_RunActiveContent.js do a right click and save as. Then throw it together with your index.html file

          1 person found this helpful
          • 2. Re: SWF File wont play.
            Ned Murphy Adobe Community Professional & MVP

            Your file doesn't use the AC_Run...yadad yada script, so loading that won't help.  Your file appears to load okay and the required swf object file is also where it should be.  So the only unknown at this end is what file are you trying to load into the the swf, and is it loaded where it should be?

            1 person found this helpful
            • 3. Re: SWF File wont play.
              TxMaverick Level 1

              Ned

               

              The swf files is based on a fla file I used which appears to have the correct settings. The original mpeg that went into the FLA is about 2x the size of what I put on the site, but I made the file smaller in Flash CS4 before exporting a SWF file. It's killing me that I can't figure this out!!!!

               

              Does the original movie size make a difference?

              • 4. Re: SWF File wont play.
                TxMaverick Level 1

                Ned

                 

                Well I loaded all my flash files onto the site root folder. Previously I had them in a file (media) but after reading some forums someone had suggested all the swf and flash files,and original mpegs be located in the same place. That is my current situation, but If I need to move files around in Dreamweaver CS4 I am all ears!

                Jimmy

                • 5. Re: SWF File wont play.
                  Nancy OShea Adobe Community Professional & MVP

                  Try this.

                   

                  1) Use Media Encoder (comes with Adobe Flash) or some other converter (RIVA is free) to encode your MPEG to FLV (flash video).

                   

                  2) Save FLV to your Local Site Folder.

                   

                  3) In DW, Insert > Media > Flash Video > Progressive Download.  Browse to FLV file in your local site.

                  Choose a player skin.  Hit OK.

                   

                  4) Upload Page, Scripts, FLV and SWF files to server.

                   

                  5) If this fails, check with your Host to ensure that SWF and FLV MIME-types are enabled on the web server.

                   

                  Good luck,

                   

                   

                  Nancy O.
                  Alt-Web Design & Publishing
                  Web | Graphics | Print | Media  Specialists
                  http://alt-web.com/
                  http://twitter.com/altweb
                  http://alt-web.blogspot.com

                  • 6. Re: SWF File wont play.
                    Ned Murphy Adobe Community Professional & MVP

                    What file is the swf supposed to be playing, and where is it located?... the swf appears to be some form of player file, and it appears to be missing whatever file it is supposed to play.

                     

                    Where you store files is as relevant as how you target them.  The swf file is in the same folder as the html file that embeds it, which is ideal for avoiding targeting issues between what works locally versus online.  When you embed an swf file inan html page, anything that swf files loads dynamically has to be targeted as if the swf file is in the same folder as the html file (which in your case is covered).  Some people will loa swf's in swf folders, much like images go into image folders, etc... That is when targeting usually has to be changed between local testing versus online showing.

                    • 7. Re: SWF File wont play.
                      TxMaverick Level 1

                      Th swf file is called demo.swf and was created with a file entitled demo.fla which was created by importing an mpeg called homepage-demo.mpeg the client provided. In Flash cs4 I imported the video, gave it a skin, and than exported it after checking the paths before output. The mpeg, fla, and swf files have all been loaded onto the server so I am puzzled as to why I cant see the movie. Also you mentioned a player. Should I have the flash player (and controls) uploaded on my server?

                       

                      Also I realized tha actual movie (mpeg file) I used to create demo.fla is 15 MB (1280 x something). Does this make a difference?

                      • 8. Re: SWF File wont play.
                        TxMaverick Level 1

                        Nancy

                        Flash CS4 has the capability of importing video and creating a skin and swf file which is what I originally did.  What are the advantages of doing it using the process you described vs  the process I was trying earlier? Does using a flv have an advantage over using swf?

                         

                        Message was edited by: TxMaverick

                        • 9. Re: SWF File wont play.
                          Nancy OShea Adobe Community Professional & MVP

                          FLV is for video or video with audio. Typically SWF is used for smaller files, player controls, rotating banners...  If you began with MPEG, my guess is that you'll get better results encoding this project to FLV.

                           

                          Give it a try.

                           

                           

                          Nancy O.
                          Alt-Web Design & Publishing
                          Web | Graphics | Print | Media  Specialists
                          http://alt-web.com/
                          http://twitter.com/altweb
                          http://alt-web.blogspot.com

                          • 10. Re: SWF File wont play.
                            TxMaverick Level 1

                            Thanks I tried it and it works, but my player skin I created in step 3 appears over my movie. Do you know how I would drop it down so its below the movie?

                             

                            Jimmy

                            • 11. Re: SWF File wont play.
                              FWBIIITV

                              I am also having trouble getting .swf files (Captivate) to play when inserted into Dreamweaver CS3. Aparently I need to change the code in Dreamweaver? My web pages are XHTML 1.0 Transitional. Any ideas on how I need to re-code the page to allow my .swf files to play?

                               

                              Thanks

                              • 12. Re: SWF File wont play.
                                612wharfavenues Level 1

                                I was having problems with flash too and then i tried the html5 <video> tag and it worked, no plugins, no crappy bloated code.

                                • 13. Re: SWF File wont play.
                                  Nancy OShea Adobe Community Professional & MVP
                                  Aparently I need to change the code in Dreamweaver? My web pages are XHTML 1.0 Transitional.

                                  There's no need to change code from XHTML transitional.  

                                  It could be a path problem, a missing Script folder or an SWF rendering problem.

                                  Also, does your web server support SWF MIME-type ?

                                   

                                  Can you post a link to your test page?

                                   

                                   

                                  Nancy O.
                                  Alt-Web Design & Publishing
                                  Web | Graphics | Print | Media  Specialists
                                  http://alt-web.com/
                                  http://twitter.com/altweb

                                  • 14. Re: SWF File wont play.
                                    FWBIIITV Level 1

                                    Hi Nancy,

                                     

                                    According to DW's validation I do need to change some of the coding. DW uses 'embed' and validation tells me it is not allowed in XHTML 1.0. I tried to change it to 'object' but that didn't work either.

                                     

                                    The server is rackspace and it does support SWF files. I asked them to be sure.

                                     

                                    http://erc.altruistmedia.com. If it is a file path problem, how can I fix it? The first SWF is SYSTEM_BROWSER_TEST_v5fb.swf . I don't understand how my links are not connecting properly. What am I doing wrong?

                                     

                                    Thanks for your help

                                    • 15. Re: SWF File wont play.
                                      Nancy OShea Adobe Community Professional & MVP

                                      Flash embed code has never passed validation tests.

                                      This code works for me:

                                       

                                      <!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=iso-8859-1" />
                                      <title>Untitled Document</title>
                                      
                                      </head>
                                      
                                      <body>
                                      <!--BEGIN BUTTON 3 -->
                                      <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="100" height="100">
                                      <param name="src" value="http://erc.altruistmedia.com/button3.swf" />
                                      <embed src="http://erc.altruistmedia.com/button3.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="100" height="100"></embed>
                                      </object>
                                      
                                      <!--BEGIN BUTTON 7 -->
                                      <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="100" height="100">
                                      <param name="src" value="http://erc.altruistmedia.com/button7.swf" />
                                      <embed src="http://erc.altruistmedia.com/button7.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="100" height="100"></embed>
                                      </object>
                                      
                                      </body>
                                      </html>
                                      
                                      

                                       

                                      That said, I don't like Flash buttons and I wish you wouldn't use them. They are not web friendly or good for accessibility.

                                       

                                      If you need interactive buttons, use CSS styled lists or DW's built-in Spry Menus.

                                       

                                       

                                      Nancy O.
                                      Alt-Web Design & Publishing
                                      Web | Graphics | Print | Media  Specialists
                                      http://alt-web.com/
                                      http://twitter.com/altweb

                                      • 16. Re: SWF File wont play.
                                        hans-g. Adobe Community Professional & MVP

                                        Hi,

                                         

                                        would you please show me the place, where your "SYSTEM_BROWSER_TEST_v5fb.swf" should be inserted in http://erc.altruistmedia.com/. I'm very sure there is neither a *.swf embedded nor this "SYSTEM_BROWSER_TEST_v5fb.swf" uploaded to your server.

                                         

                                        Hans-G.

                                        P.S.

                                        For various reasons, discussed here in the forum it would be advantageous, if you could cut the empty spaces in your filenames.