20 Replies Latest reply on Jan 27, 2012 10:27 AM by adninjastrator

    Exporting file for Flash Catalyst use?

    Cuwen Level 1

      Hey everyone.  I've made a video in Flash Pro, and I want to be able to play it in Flash Catalyst.  I'm using 5.5 of both versions, btw.  I export the Flash Pro video to a .mov file and then use Media Encoder to make that a .flv file.  I bring that file into FC and publish to web.  However, when I put those 'deploy to web' files on my website, the video doesn't play.  Everything else works except for the video.  So I put a generic, short .flv file that I downloaded from the internet into my FC file.  I published it to my website again, and everything worked fine.  The video played.  So obviously the problem with my video must be in the encoding process.

       

      How should I do this?  I read one article online that said when I export a .mov file for FC, I should make sure that I don't have 'Fast - Compressed Header' selected in the Streaming options.  Well, I checked and I don't.  It's just under regular 'Fast'.  So what am I doing wrong here?  I've even tried converting my .mov file to a f4v file, and that doesn't work.  Help here would be so greatly appreciated.

        • 1. Re: Exporting file for Flash Catalyst use?
          Cuwen Level 1

          Can someone please help me?  No one over in Flash Catalyst has responded to my question, either.  Is this just too difficult of a question to answer?  I hope not...

          • 2. Re: Exporting file for Flash Catalyst use?
            adninjastrator Level 4

            You seem to infer that there is something wrong with the video file... the .flv version. Have you tested that in something other than FC?

            Have you tested it directly in Flash using the FLV Playback component or NetStream?

            Before you move on to anything else in trouble shooting, verify that there is/is not a problem with the video file itself by testing the video in some other program besides FC.

            After that, let us know the results and we can move on to other possible solutions.

            Best wishes,

            Adninjastrator

            • 3. Re: Exporting file for Flash Catalyst use?
              Cuwen Level 1

              Thank you so much for responding, adninjastrator.  I really appreciate it.

               

              The reason why I thought there was something wrong with the video file is because I can insert a .flv file that I got off of the internet and it plays just fine.  But yes, I have played my video in other formats and it's worked fine.  I can even see the video just fine when I run the FC file.  But when it comes to running on my website, it just doesn't.  The box is there and the video control button for play is depressed, so it looks like it's playing something, but it's just a white screen.

               

              I've also sent this to a website company that my work uses, and they can't get it to play, either.  Of course... they can't even get it to play with the video version I made using the .flv file I got off of the internet.  They can't get either version to play right.  They just get that white screen in the video box.

               

              I have been Googling for 2 days and can't find a solution.  Do you have something for me to try?

              • 4. Re: Exporting file for Flash Catalyst use?
                adninjastrator Level 4

                I'm still not clear if the .flv file you created is a good file or if something else is the problem. You say that

                I have played my video in other formats and it's worked fine

                but have you tested the .flv directly in Flash to see if there is a problem with the video? This test of course if very important... if the video is at fault... well there you go... but if it's not the video file, then we can move on.

                If the video is good, then almost always when it works on your local machine but not on the server, it's most likely a pathing issue. But really the only way I could tell is to see the actual site. So please post a link or if you'd like something more private, send me a Private Message and include the link to the actual web page in question. I could also test the .flv for you if you can't test directly in Flash.

                There are any number of problems that could be the cause and just a description or short piece of code really doesn't tell the whole picture.

                For your review:

                Pathing issues

                 

                Almost always when it works on the local machine and not the server, it's a pathing problem.
                You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
                Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.

                In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
                So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
                Best wishes,
                Eye for Video
                www.cidigitalmedia.com

                Best wishes,

                Adninjastrator

                • 5. Re: Exporting file for Flash Catalyst use?
                  Cuwen Level 1

                  I sent you a PM adninjastrator.  Thank you so much for your contiued help.

                   

                  As I mentioned, I've been working with my work's website company on putting this on our website (this is not the free website I use to test my stuff on).  The guy I work with on it has never been able to see the video in the deploy-to-web swf.  He has a similar problem to mine where everything else looks fine, but there's just a white screen in the video square above the player controls in the skin.  Well, on a whim yesterday out of frustration, I just sent him the run-local files.  He said he could play that one just fine, the video worked great in it!  What does that mean?

                  • 6. Re: Exporting file for Flash Catalyst use?
                    adninjastrator Level 4

                    Most likely a "pathing" issue, that is, the video player cannot find the .flv file. Review my post above.

                    Some common causes of pathing issues:

                    The .flv is not in the same folder as the Web page and the .swf video player and the path in the .swf to find the .flv file is wrong.

                    The .flv file is missing, was not uploaded to the server along with the .swf video player file.

                    The .flv file name is wrong or misspelled. Servers are case sensative and don't like spaces used in file names... so for example, MyFLV.flv is NOT the same file name as myflv.flv, and it's not the same as my flv.flv. Testing on local machine will not show the difference since they are not case sensative but the server is.

                    Best wishes,

                    Adninjastrator

                    1 person found this helpful
                    • 7. Re: Exporting file for Flash Catalyst use?
                      Cuwen Level 1

                      When I reposted my video online and sent the link to you in PM, it was the newly uploaded one where I put the flv file in the same folder as the Flash Catalyst file.  I tried that just to see if that fixed the pathing problem in case that was it.  I still couldn't get the video to show up.  Were you able to view it?

                       

                      When Flash Catalyst produces the 'deploy-to-web' folder, it puts the flv file in a separate folder called 'assets' while the swf file is in the parent folder.  In all the literature I read about uploading videos to FC, it says not to rearrange the files at all.  Should I still copy and paste the flv file into the same folder as the swf file?  I'd hate to do that b/c it would make the entire folder twice as big, but I'm beginning to run out of options.  What I don't understand is why everyone else seems to be able to use, publish, and export FC files to the web just fine but I can't.  I wonder if Media Encoder could be the problem, even though YouTube plays it just fine....

                       

                      I will test the lowercase naming option.  I have the different words capitalized to show that they're different words, but the flv files that work for me (the ones I downloaded from the internet) are all lowercase.  I hadn't noticed that before.  So I will try that and see if it works.  I'll come back on here in a few minutes and post my findings.

                       

                      Any idea why the run-local swf file would work for my website company but the deploy to web swf wouldn't?

                      • 8. Re: Exporting file for Flash Catalyst use?
                        adninjastrator Level 4

                        All I saw was the player controls, no video.

                        If the "Deploy to Web" puts the .flv in a separate folder, leave it there... the player should be able to find it.

                        I really have no idea how FC sets up the video player and am not familiar with how to review/change/edit the content path.

                        As for the .flv file and Adobe Media Encoder... if it plays locally.. most likely not a problem but include the absolute address in a PM and I'll see if I can play it.

                         

                        the run-local swf file would work for my website company but the deploy to web swf wouldn't?

                        This is the .swf after it's placed on a Web page? and NOT just direct clicking on the .swf itself?

                        Adninjastrator

                        1 person found this helpful
                        • 9. Re: Exporting file for Flash Catalyst use?
                          Cuwen Level 1

                          Kind of reiterating what I stated in PM so others can read in case they have similar problems.  My website hosting company indeed did not show the flv file listed when I went to search for the absolute address!  Nothing there!  So of course it wouldn't have a video to play.  Thank you very much for pointing me in that direction.  I don't know why it just won't upload.  I tried uploading it again, and the upload manager shows it's there, but when I go to the file manager, it's still showing it missing.  It might be the size (10 mb).  I'll try a very small video that I make and see if that fixes it.

                           

                          As for my work's website company, I'm not sure how they're viewing it.  I uploaded both folders ('deploy-to-web' and 'run-local') to their ftp site.  I'm assuming from there they viewed the folders directly that way and had issues playing the swf.  Here is what the guy said that I'm working with:

                          Run Local played correctly, the swf file needs to be within the folder, and will not play outside of the folder.  If you are going to be using the swf catalyst it will need to function like the articulate video functionality.  It appears that catalyst will create the file with the video inside it like the upload functionality intended.

                           

                          Run Local played correctly, the swf file needs to be within the folder, and will not play outside of the folder.  If you are going to be using the swf catalyst it will need to function like the articulate video functionality.  It appears that catalyst will create the file with the video inside it like the upload functionality intended.

                           

                          Articulate video is another application I use, so that's what he's referring to.  But I'm not sure what else he means.  The 'run-local' folder and the 'deploy-to-web' folders look similar except that the 'run-local' one has a few less files in it.  But the location of the .flv file hasn't changed in the folders.  So I don't know why one would run while the other doesn't.  Any suggestions?  Can you make heads or tails of what he's saying?

                          • 10. Re: Exporting file for Flash Catalyst use?
                            adninjastrator Level 4

                            Not really sure what he's saying.

                            What I'm asking is if they tested just the .swf or if they tested the web page that the .swf was on...is there a Web page included in the "run-local" group of files?

                            Also a 10MB video file is not that large.... should not be a problem.... but of course the video file needs to be uploaded for anything to work.

                            Are you sure that the video was encoded to be an .flv file in Adobe Media Encoder? or was it a .f4v? .... the Flash version of the mp4.

                            If it's a f4v file, there is a good likelyhood that the server does not yet have the correct MIME type set for .f4v files:

                            http://en.wikipedia.org/wiki/Flash_Video

                            Best of luck,

                            Adninjastrator

                            1 person found this helpful
                            • 11. Re: Exporting file for Flash Catalyst use?
                              Cuwen Level 1

                              Ah.  I think they just tested the .html file.  Though, they were trying nearly everything yesterday, so they might have tried the swf file, too.  I'll ask him this afternoon.  There's a webpage included in both deploy-to-web and run-local folders.  Both are entitled main.html.  I'm looking at both codes in Dreamweaver to see what would be different, how the code is calling to the flv video, and I can't see any change!  I switch from one code view to the other, and nothing is different.  The only difference is that in the video size area, the html file from the run-local folder is bigger.  So obviously something more was put into the run-local html file, but what I don't know.  I can't figure that out from the code.  Here's the code from the run-local file, though it looks the same in the deploy-to-web html file, too.

                               

                              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

                              <!-- saved from url=(0014)about:internet -->

                              <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

                                  <!--

                                  Smart developers always View Source.

                                 

                                  This application was built using Adobe Flex, an open source framework

                                  for building rich Internet applications that get delivered via the

                                  Flash Player or to desktops via Adobe AIR.

                                 

                                  Learn more about Flex at http://flex.org

                                  // -->

                                  <head>

                                      <title></title>

                                      <meta name="google" value="notranslate" />        

                                      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

                                      <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and

                                           the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as

                                           the percentage of the height of its parent container, which has to be set explicitly.  Fix for

                                           Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show

                                           if JavaScript disabled.

                                      -->

                                      <style type="text/css" media="screen">

                                          html, body  { height:100%; }

                                          body { margin:0; padding:0; overflow:auto; text-align:center;

                                                 background-color: #ffffff; }  

                                          object:focus { outline:none; }

                                          #flashContent { display:none; }

                                      </style>

                                     

                                      <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->

                                      <!-- BEGIN Browser History required section -->

                                      <link rel="stylesheet" type="text/css" href="history/history.css" />

                                      <script type="text/javascript" src="history/history.js"></script>

                                      <!-- END Browser History required section --> 

                                         

                                      <script type="text/javascript" src="swfobject.js"></script>

                                      <script type="text/javascript">

                                          // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.

                                          var swfVersionStr = "10.2.0";

                                          // To use express install, set to playerProductInstall.swf, otherwise the empty string.

                                          var xiSwfUrlStr = "playerProductInstall.swf";

                                          var flashvars = {};

                                          var params = {};

                                          params.quality = "high";

                                          params.bgcolor = "#ffffff";

                                          params.allowscriptaccess = "sameDomain";

                                          params.allowfullscreen = "true";

                                          var attributes = {};

                                          attributes.id = "Main";

                                          attributes.name = "Main";

                                          attributes.align = "middle";

                                          swfobject.embedSWF(

                                              "Main.swf", "flashContent",

                                              "405", "350",

                                              swfVersionStr, xiSwfUrlStr,

                                              flashvars, params, attributes);

                                          // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.

                                          swfobject.createCSS("#flashContent", "display:block;text-align:left;");

                                      </script>

                                  </head>

                                  <body>

                                      <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough

                                           JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show

                                           when JavaScript is disabled.

                                      -->

                                      <div id="flashContent">

                                          <p>

                                              To view this page ensure that Adobe Flash Player version

                                              10.2.0 or greater is installed.

                                          </p>

                                          <script type="text/javascript">

                                              var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");

                                              document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"

                                                              + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );

                                          </script>

                                      </div>

                                     

                                      <noscript>

                                          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="405" height="350" id="Main">

                                              <param name="movie" value="Main.swf" />

                                              <param name="quality" value="high" />

                                              <param name="bgcolor" value="#ffffff" />

                                              <param name="allowScriptAccess" value="sameDomain" />

                                              <param name="allowFullScreen" value="true" />

                                              <!--[if !IE]>-->

                                              <object type="application/x-shockwave-flash" data="Main.swf" width="405" height="350">

                                                  <param name="quality" value="high" />

                                                  <param name="bgcolor" value="#ffffff" />

                                                  <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.gif" alt="Get Adobe Flash Player" />

                                                  </a>

                                              <!--[if !IE]>-->

                                              </object>

                                              <!--<![endif]-->

                                          </object>

                                      </noscript>    

                                 </body>

                              </html>

                               

                              But I don't see anything where it calls to my bathinline.flv file.  Yet this one plays just fine.  I've played both .html files, and only the run-local html file plays fine on my computer (not viewing from website this time).  So I agree with you that I think it's a pathing issue on the deploy to web thing, but I have no idea what.  The code isn't showing any difference.

                               

                              Any more ideas.  You've been really, really helpful so far!

                              • 12. Re: Exporting file for Flash Catalyst use?
                                adninjastrator Level 4

                                The path from the .swf to the .flv is set in the .swf itself and is not visible in the HTML code unless you happen to be using Flash vars... which you are not.

                                So it's during the actual creation of the .swf itself that the path to finding the .flv file is set. And you created the .swf in FC, correct?

                                Adninjastrator

                                1 person found this helpful
                                • 13. Re: Exporting file for Flash Catalyst use?
                                  Cuwen Level 1

                                  Ah.  Then that makes sense why I can't see the path in the code for the html file.

                                   

                                  I created the .flv in Flash Pro.  It's a video that I created almost a year ago.  I've exported it to a .mov file and then converted that to an .flv file through Adobe Media Encoder.  And I used to think that was the problem, but since the videos I downloaded from the internet won't even work locally, it makes me think it's something wrong with FC itself.  I just don't understand what's going on.

                                  • 14. Re: Exporting file for Flash Catalyst use?
                                    Cuwen Level 1

                                    Well, I have discovered the problem.... my Mac version is glitchy!!  I downloaded a trial version of FC to my Windows partition, and everything worked fine!  The video shows up and plays just like it's supposed to.  No wonder I've had so many problems with it and couldn't find an answer for it on Google.  My version is faulty!  I'll give the Adobe people a couple days to call me back and tell them this.  If they don't call me back, I'll call them and let them know.

                                     

                                    Adninjastrator, I want to thank you so much for all your help on this.  You've been so patient and helpful with me, and you've educated me on some things I didn't know!  I'll mark as many answers of yours as helpful, as many as I can.  Thank you so much!!

                                    • 15. Re: Exporting file for Flash Catalyst use?
                                      adninjastrator Level 4

                                      So glad you finally got everything working!

                                      We both learned something... I never even thought to ask what operating system you were using.

                                      Best of luck to you in the future!!

                                      Adninjastrator

                                      • 16. Re: Exporting file for Flash Catalyst use?
                                        motvsonofjack

                                        Hi, I'm having the same problems except it happens on both windows and mac.  I'm running FC 5.5

                                         

                                        the video files work fine with previewing and when exported it works on run-local only.  with deploy-to-web, the video won't play at all, any video for that matter. it sucks because I'm using the videos to transition to another state.  Can you please help me. 

                                         

                                        So far, I've completely reinstalled creative suite after using the creative suite cleaner. Nothing seems to work. 

                                        • 17. Re: Exporting file for Flash Catalyst use?
                                          Cuwen Level 1

                                          Thanks adninjastrator!!  I hope we get a chance to talk again in the future.  And I am running Snow Leopard on my MAC and Windows 7 on my partition through VMWare Fusion.

                                           

                                          Motvsonofjack, Adobe called me back late afternoon yesterday.  They said that there is no way you can view the 'deploy-to-web' files straight from a computer.  They said that you HAVE to upload it to a server in order to view it.  I've never heard of that for other video and web applications.  That's so odd...  So I wasn't expecting anything like that at all.  I told them that it would probably be a good idea to make that much more apparent to people since most of us like to test our content BEFORE we upload it.  The uploading process takes long enough.  We don't want to spend all that time uploading and then see that something doesn't work right.  Hopefully they make that apparent in the future.  But he did give me instructions on how to access a local server just using your computer, not going to a free website hosting company or anything.  By the way, adninjastrator, the helper did notice the same thing we did about the website company I was using to test the things on.  They kept deleting my video.  So, bad company. lol.

                                           

                                          Here are the instructions on how to access your local host on the computer.  This has to be done using a Windows computer or a Windows partition like I have.  I don't know the instructions on how to do it for a Mac.  I hope these instructions make sense and help you, motvsonofjack.

                                           

                                          Version:1.0 StartHTML:0000000177 EndHTML:0000005707 StartFragment:0000002174 EndFragment:0000005671 SourceURL:file:///Users/MacPro/Desktop/ImportantFiles/Local%20Host.doc                     

                                          Local Host - Windows internal server:

                                           

                                          - Go to Control Panel/Programs and Features

                                          - On left hand side, click 'Turn Windows features on or off'

                                          - Go to option 'Internet Information services'. Click box beside it (Options selected after clicking plus button should be 'Web Management Tools' and 'World Wide Web Services')

                                          - Open Internet Explorer and type in address bar: localhost to check if server is working

                                          - Go to Computer/Local Disk (C:)/inetpub/wwwroot

                                          - Create new folder here and name it whatever you want (ex. deploy)

                                          - Paste files into this folder (ex: Flash Catalyst 'deploy-to-web' folder contents)

                                          - Go to Internet Explorer and type in address bar: localhost/nameofcreatedfolder(ex:deploy)/main.html(or whatever file you want to play)

                                          - Website should run

                                           

                                          I'm going to post this in the Flash Catalyst forum, too, so people there can see it.

                                          • 18. Re: Exporting file for Flash Catalyst use?
                                            motvsonofjack Level 1

                                            Thanks Cuwen.

                                             

                                            Howerver, I discovered this problem while running the files off of a webserver.  Everything runs great except the video.  I just tested it again with no luck.  There must be a bug with the software that they don't want to admit is there.

                                            • 19. Re: Exporting file for Flash Catalyst use?
                                              adninjastrator Level 4

                                              Personally, I can't believe that there would be anything that would prevent a properly pathed .swf from working locally... you should NOT have to test on a server. IF FC is adding something to the "deploy-to-web" code, it really has nothing to so with the way the .swf and HTML page normally interact.... but I still think the advice is wrong.

                                              Adninjastrator

                                              • 20. Re: Exporting file for Flash Catalyst use?
                                                adninjastrator Level 4

                                                As with most problems, for best chance of help, post a link to the problem page. And since this is already such a long discussion, I'd suggest you start a new thread and detail for us exactly what's happeing, what you've already tried, when/how you noticed the problem.... Don't assume we know anything... detail it all.

                                                Best wishes,

                                                Adninjastrator