18 Replies Latest reply: Nov 9, 2012 10:02 AM by jasonrobertsdesign RSS

    swf not working after placing

    jasonrobertsdesign

      preview in muse has loader spinning but no flash slide show - preview in browser is blank pg

        • 1. Re: swf not working after placing
          jgrummel Adobe Employee

          How did you import the .swf file?

          File -> Place... ?

           

           

          Julia

          • 2. Re: swf not working after placing
            jasonrobertsdesign Community Member

            Yes just placed the file (command D)

            • 3. Re: swf not working after placing
              jgrummel Adobe Employee

              Did you try it in all browsers?

               

              Julia

              • 4. Re: swf not working after placing
                jasonrobertsdesign Community Member

                Only Firefox however, it will not preview in Muse just keeps spinning

                like it is trying to load and if it does not work in Firefox, something is

                big time wrong.

                • 5. Re: swf not working after placing
                  Zak Williamson (Adobe) Adobe Employee

                  File:Place for a .swf works for self-contained SWFs (i.e. animations created in Flash Pro). However there are many different types of .swfs. A SWF written to provide slideshow or photo gallery functionality almost certainly relies on some set of additional files. At a minimum probably a .xml file or other configuration file to set the options on the slideshow/gallery and perhaps the layout, and a folder of images to be displayed.

                   

                  File:Place in Muse would bring in the .swf file but not any of the other files the .swf depends upon, thus nothing appears.

                   

                  The first step is to determine what these other files are. In most cases a tool that generates a "swf photo gallery" will produce as a folder with the .swf and some other files and subfolders. Generally the entire contents of that folder needs to be uploaded to your hosting. Once it's on your server, then an HTML object can be used to load the SWF on a page created from Muse.

                  • 6. Re: swf not working after placing
                    jasonrobertsdesign Community Member

                    Yes there are resource files - xml., etc. once this is uploaded to the

                    server, I am not quite sure what to do next

                    • 7. Re: swf not working after placing
                      jasonrobertsdesign Community Member

                      Zak once I upload the folder with the swf & support files, how do I ³ use

                      an HTML object to load the SWF on a page created from Muse² I do not know

                      what that means please break down step by step thank you.

                      • 8. Re: swf not working after placing
                        T.J. Harrison Community Member

                        Ok, this one is tricky. It involves an understanding of relative paths.

                         

                        The following are all examples, I don't know your actual file setup.

                         

                        First, you have your .swf file. It lives in a folder called RED

                         

                        Inside of the RED folder you have an xml file and folder called IMAGES

                         

                        Next, you have your .muse file. It lives in a folder called BLUE. We won't be discussing this folder.

                         

                        When you preview your muse website, it sends all it's files to a folder called GREEN

                         

                        You with me?

                        So what needs to happen is this: instead of sending the files to the GREEN folder, you want muse to send it to the RED folder. You want this because that's where all the files that the .swf file depends on live.

                         

                        Your .swf will will never work in preview mode, because the files that the .swf file needs aren't in the GREEN folder.

                         

                        When you want to see your SWF working, send your preview to the RED folder by using "File > Export as HTML"

                         

                        Click on the location address and change it so it is the RED folder (the one that contains the .swf file and all it's dependent files). If you are using IE It will ask you if you want to allow blocked content. say yes.

                         

                        When you are ready to publish, you will have to do so by uploading the RED folder. If you publish directly from Muse, it will not include the images and other files needed by the .swf file and the .swf won't work as a result.

                         

                        There is an exception to this rule, that makes things a lot easier, but I don't want to confuse this post, so I will post it in the next reply.

                        • 9. Re: swf not working after placing
                          T.J. Harrison Community Member

                          The exception is if you have a very simple .swf file that only has an images folder (it can't be named anything else) with only images in that folder (no sub folders) and no other dependent files like an xml. In this very limited case, you can bring the images into muse and they will work on preview. (because copies of them are being placed in Muse's image folder)

                           

                          ----------

                           

                          There is another possible approach, for the code savvy:

                           

                          First, make sure your .swf file is live and in it's final location on the server.

                          Next use "Object > Insert HTML"

                          Then paste in some embed code. in this example I'll use an iframe:

                          <iframe width="500" height="30" src="http://www.yoursite.com/swf/swfpage.html" frameborder="0"></iframe>

                           

                          You could also use the embed code found in the HTML page that Flash outputs or one of the other various methods found online.

                           

                          This method uses a swf that is already live and has a known address so it will show in any preview situation.

                          • 10. Re: swf not working after placing
                            jasonrobertsdesign Community Member

                            I am still confused - and there seem to be a number of options with the various slideshow utilities. I understand how to use an ftp program to upload the site to my server. I can also upload the folder with the swf file & resourcers to the same folder. There seem to be 3 different ways the different slideshow programs work: folder with swf file & resorces, 2. a self-contained swf file with no resources, 3. a folder that contains an index.html file with support folders.

                             

                            Using a different CSS web editor, I have included the link as an external file that links to the server - or just embedded the self-contained swf file in the site.

                             

                            Once the site is uploaded to the server, sounds like I will need to separately upload the slideshow folder to the root level of the site - then what? Or am I not understanding.

                            • 11. Re: swf not working after placing
                              T.J. Harrison Community Member

                              Let's say you put the swf file on your home page.

                               

                              In this case, yourfile.swf and index.html are interchangeable in terms of their location within the file structure. If yourfile.swf has an images folder and an xml file at the same level, then so should index.html once it has been published.

                               

                              It sounds like uploading the contents of the slideshow folder to your root (not the slideshow folder itself) will do the trick

                               

                              Note: Again, this will not make it appear in Preview mode, only the "Insert as HTML" method will do that, but it should work in it's final published state.

                              • 12. Re: swf not working after placing
                                jasonrobertsdesign Community Member

                                I am not code savy - however, some of these programs will generate html code. I will try uploading a test site to a temporary URL and then adding the code that is generated by the program to see what happens

                                • 13. Re: swf not working after placing
                                  jasonrobertsdesign Community Member

                                  I am getting nowhere fast. I have uploaded a simple page: www.architecturalimagery.biz - just a black pg with my name in white text - used the Muse ftp upload, so at least that is working. The swf file seems to ne a self-contained file with no supporting files - still nothing working.

                                  • 14. Re: swf not working after placing
                                    darling67

                                    Hi, T.J.!

                                     

                                    I am having issues with .swf files, as well. They used to work like charms on my prior web site—which was a site consisting of an html page with all my .swf files being called-up via their respective folders/hierachy. They all worked great.

                                     

                                    Since creating my new Muse site, SOME of the  Flash .swf files function, while others function in part but some interactivity is not working. I get no errors, but things that used to work just fine do not work now. I have tried replicating the paths and placing the .swf files' assets in the same place Flash wants them to be. No dice.

                                     

                                    Video files (which are either .flv or .f4v files), and some action script failures are the main issues in my Muse site.

                                     

                                    Any ideas/suggestions?

                                     

                                    Thanks.

                                    • 15. Re: swf not working after placing
                                      jasonrobertsdesign Community Member

                                      I wish I had an answer for you I honestly expected more from Adobe seems

                                      like a very important issue and one that should work easily on some

                                      projects I am going back to using Shutterbug a Mac $50 program that works

                                      like a champ for wysiwyg simple sites with slideshows & video content it

                                      has a number of other limitations which is why I moved to Muse, however the

                                      Muse issues are very disappointing and I hope Adobe fixes it very soon. One

                                      of the main reasons I went to the Creative Cloud subscription was to use

                                      Muse I am now looking at other alternatives hopefully Adobe will address

                                      the issues soon enough so we can all get on with the work we have to do.

                                      • 16. Re: swf not working after placing
                                        darling67 Community Member

                                        Thanks, Jason!

                                         

                                        I'll just sit tight and wait for Adobe to fix this stuff... hopefully. At least some of my Flash functions at 100% (the files that had major script involved).

                                        • 17. Re: swf not working after placing
                                          Gib1000 Community Member

                                          I have had some success with embedding and previewing video in Muse using the following method (I took some lead from TJ above).

                                           

                                          Export your video from Premiere etc via the the media encoder to H.264 and your prefered size for the web.

                                          Create a new project in Flash and import the video.

                                          Publish from Flash to create the .swf and HTML files (as TJ says, to a folder named "RED" for instance)

                                          Right click on the HTML file from Flash and open in Notepad.

                                          Copy the code from "<div id=flash content"      up to and including      </div>

                                          In Muse, go to Object, Insert HTML and paste the code. Position the box where you want the video to appear.

                                          Now choose "export as HTML" from the file menu, but ensure that the export location is set to the folder you saved the .swf in for example the "RED" folder.

                                          Now check your browser and click "allow content"

                                          Your video should preview.

                                          • 18. Re: swf not working after placing
                                            jasonrobertsdesign Community Member

                                            Thanks I will try that.