|
|
Lesson 10: Creating the Web PageYou can create a Web page using nearly any text editor, provided that you know HTML, as you can see in Chapter 2. Using your favorite Web page editor (it could be Windows Notepad) you will create a page that incorporates your Flash movie. 1. If you named your movie crash, look in the folder where you saved the movie. You should have three files named crash, (crash.fla, crash.swf and crash.html. You will need the swf and html files for your Web site. The FLA file is what you use to edit the movie. The movie must be compiled into the flash player (SWF) format to play on the Web. 2. Launch your HTML editor (Macromedia Dreamweaver, Microsoft FrontPage, Netscape Composer, NotePad, etc.) 3. Enter the code shown in Figure QS-13 to create a basic web page or create one of your own design. Figure 13 HTML code for Hi-Risque Underwriters <html> 4. Paste the code from the crash.html page between the <body> and </body> Figure 14 HTML code for the Crash.swf movie. <p align="center"> 5. The example shown here is of a very simple page, but you can create a much more elaborate web page if you wish. You are now ready to go online. How you go about this is dependent upon how you access your Web site in general. If you have been maintaining a Web site, you will have a method for getting the files onto the server. Some applications are able to automate the process for you. Another, very simple way, of posting files to a Web server is via FTP. If you have FTP access, you copy the files to a URL just as you copy files between folders on your local hard drive. There are a number of programs you can download from the Web that provide a Windows interface for FTP (File Transfer Protocol). However you get your files to a Web server, you must be sure to add the movie’s HTML code to the Web page as shown above and also to copy the SWF file to the same directory location (URL) as the page. |
Send mail to
webmaster@hitekdesigns.com
with questions or comments about
this web site.
|