Page 542 - Xara Designer Pro X17
P. 542

542      Animations

                Alternatively you can create a placeholder object manually. On your web page, create a
                placeholder object, which can be anything such as a simple rectangle or an image or
                screen grab even.  Position and size your placeholder where you want your Flash
                animation to appear.

                Then in the WEB PROPERTIES DIALOG ("Ctrl + Shift + W") select the PLACEHOLDER TAB and
                the REPLACE WITH FLASH Browse options to locate the required .SWF file. Click APPLY.

                Now when you preview your website, the placeholder is replaced by the Flash animation.

                With either option above, the .swf file gets copied into a support folder next to your .xar
                file, so that there is a copy of the file with your .xar file. Therefore if you subsequently
                change your animation and export an updated .swf file that you want to use instead,
                either browSE FOR THE NEW .SWF FILE USING THE "UTILITIES" > "WEB PROPERTIES" >
                "Placeholder tab" as above, or manually replace the file in the support folder with the
                updated file.

                See the Support Folders section (on page 51) of the Document Handling chapter for
                more information.

                Inserting using a different web authoring tool
                To place your SWF animation into your HTML click the VIEW HTML link on the Flash
                preview screen to get code that you can paste into your web page using your preferred
                HTML editor.
                Note: You must change the SWF file name in the code to match the actual name of your
                exported SWF file. You must also place your SWF file into the same directory as your
                web page for the code to work. If you place the SWF file in a different directory, you will
                need to change the HTML code accordingly.



                Exporting animations as AVI

                As well as exporting animations as animated GIFs and Flash animations, you can also
                export in the .AVI file format.
                In an animation document, choose EXPORT ANIMATION from the FILE menu, and choose
                AVI ANIMATION (*.AVI) from the Save As Type drop-down list in the Export File dialog. Click
                the OPTIONS button to choose the export settings, or just click the EXPORT button to use
                the current or default settings.
                AVI options
                Codec selection

                Use the dropdown list to select from the range of codecs that you have installed. This
                determines how your AVI is encoded and compressed. Or choose the "uncompressed"
                option if you want to export an uncompressed AVI. Note that this will give you a very
                large file size!
   537   538   539   540   541   542   543   544   545   546   547