How to Insert an Animation in Kompozer
KompoZer, an open-source Web page editor, can embed animations in your Web pages. To insert an animated GIF image, use KompoZer’s normal image-inserting tool; however, if you have a Flash animation, you have to edit your Web page’s HTML source. KompoZer doesn’t have a function that can insert Flash files graphically, but you can insert a Flash file with a small “<object>” tag.
Instructions
-
Animated GIF
-
1
Click the “Image” button on the KompoZer toolbar, or click the “Insert” menu and select “Image.”
-
2
Enter the animated GIF’s address in the image location box. You can type its URL or type a relative location. For example, if you have an animation named “animation.gif” in the same directory as your Web page files, type “animation.gif” into the image location box. If you have an animation named “animation.gif” in an “Images” directory that is in the same directory as your Web page files, type “images/animation.gif” instead.
-
-
3
Type a description of the image into the alternate text box.
-
4
Click “OK” to insert the animation.
-
5
Position the animated image by dragging and dropping it in the KompoZer window.
Flash
-
6
Click the “Source” tab at the bottom of the KompoZer window to view your Web page’s HTML source code.
-
7
Add the following text to your page’s HTML source. Position the text where you want the animation to appear on the page:
<object data="example.swf"></object>
-
8
Replace “example.swf” with the location of your Flash animation. For example, type “http://example.com/example.swf” to use the “Example.swf” file located on Example.com. You can also use “example.swf” if the file is located in the same directory as your Web page, or “flash/example.swf” if it’s located in the “flash” directory that's in the same directory as your Web page.
-
1
References
Resources
- Photo Credit Jupiterimages/Comstock/Getty Images