2 Replies Latest reply: Feb 22, 2010 5:14 PM by pzwhz RSS

    How to add flash action

    pzwhz Community Member

      Hi my friends:

        I want to add a flash action to captivate project,but i do know how to add.

        I want to add "getURL("FSCommand:window","closeResult close");" or "fscommand("window", "closeResult close");" to end of the project or last slide.I try to add in the javascript but not run.If we select close project when play ends and public only swf,the flash player will call IE and jump an error.

        • 1. Re: How to add flash action
          Captiv8r CommunityMVP

          Hi there

           

          From what you posted it would seem that perhaps you simply wish for a URL to load when the project ends, no?

           

          If that's the behavior you want, there is no need to use Flash to do it as this function has been built into Captivate itself. Click Edit > Preferences > Project > Start and End. Configure the Project end option so that Open URL or File is selected, then enter the URL you wish to visit.

           

          Cheers... Rick

           

           

          Helpful and Handy Links

          Captivate Wish Form/Bug Reporting Form

          Adobe Certified Captivate Training

          SorcerStone Blog

          Captivate eBooks

          • 2. Re: How to add flash action
            pzwhz Community Member

            I have a Flash Player,if i have the code ,it will close the movie.

            stop ();
            getURL("FSCommand:window","closeResult close");

            or

            stop ();
            fscommand("window", "closeResult close");

             

            but,if i type the code to end of the movie by open url of file.I find the captivate code is:

            function endMovieFunction(slide)
            {
                var _loc1 = "fscommand(\"window\", \"closeResult close\");";
                getURL(_loc1, "_self");
            } // End of the function

             

            function endMovieFunction(slide)
            {
                var _loc1 = "\"FSCommand:window\",\"closeResult close\"";
                getURL(_loc1, "_self");
            } // End of the function

            function endMovieFunction(slide)
            {
                var _loc1 = "FSCommand:window,closeResult close";
                getURL(_loc1, "_self");
            } // End of the function

             

            so my flashplayer is not close the movie.