Add to Web Page

To run a Flash animation from your web page involves: (1) creating a swf file with KoolMoves and (2) adding javascript code to your web page which references the swf file. KoolMoves will create the javascript code for you. Both the swf file and your html file with the javascript are uploaded to your web server. This is analogous to creating an image in an image editing tool and adding code to your web page to display this image. Look under File > Export Movie for a number of different approaches to creating swf files and adding the necessary code to your web page.

If your interest is animated gifs, use File > Export Movie > Capture Movie Frame to capture the portion of the screen inside the movie frame and save as a .bmp. Capture a series of frames (e.g., navigate to a frame, capture the frame, navigate to another frame probably the next, capture the frame, and so forth). Use software for creating animated gifs to transform the series of bmps into an optimized animated gif. There are many such specialized products available. See Gif Creation.

Users of FrontPage, see Using KoolMoves with FrontPage.

Users of CoolPage, see Using KoolMoves with CoolPage.

Users of NetObjects Fusion, see Using KoolMoves with NetObjects Fusion.

A KoolMoves animation can be exported as a Flash™ movie (.swf format) with File > Export Movie > Save as Flash Movie. You can create a stand-alone .swf file, a .swf file and a .html template file which references the .swf file, or add a Flash animation to an existing web page. Both swf and html files are needed for the animation to play on the internet. Movie properties (width and height, speed, background color or image) can be set with menu items associated with Movie menu bar prior to exporting the files.

Koolmoves can provide you with the necessary javascript code to call the Flash movie as one of the choices in File > Export Movie > Add to Existing Web Page. To replace a gif or jpeg image in an existing HTML file with a Flash movie, manually replace the <IMG src="....gif" WIDTH="..." HEIGHT="..." BORDER="0" ALT="..."> HTML code in your existing HTML file with all javascript code that KoolMoves provides starting with <OBJECT and ending with </OBJECT> by first copying the <OBJECT... code and then pasting over the <IMG code... You can use copy/paste editing capability in your web page editor or in NotePad. A word of caution: do not paste javascript code onto your web page using FrontPage. The code will be pasted into a block of text and the javascript will not run correctly.

The name of the .swf file in the HTML file must be the same as the name of the .swf file on the server. If your server does not accept a .html extension, you can rename the extension to .htm. It is best not to include spaces in the name as this causes problems with Netscape browser.

Both the .html and .swf files are next sent to your web site by ftp. When you ftp the .swf file to your web site, make sure you send it as a binary file. The .html or .htm file must be sent as ascii. The better ftp programs like FtpVoyager do this automatically. www.pageresource.com/putweb/ provides assistance in how to ftp your files to your server.

If you are having trouble getting the animation to play on the internet, these steps are recommended:

   1. If you double-click on the .html file generated by KoolMoves on your local disk, does the animation play in your default web browser. If it does, the .html and .swf files are OK. If it doesn't, your browser may not have Macromedia's Flash player. Go to the web site associated with your browser or to http://www.macromedia.com and download the player.

   2. Upload the KoolMoves generated .html (as ascii) and .swf (as binary) files to your web site. Does the animation play on your web site if you go to the KoolMoves generated web page? If not, there is a problem in how you sent the files to your web site.

See Add to Web Page Details for more detailed information.

Continue