|
|
|
|
|
Home - Tips & Tutorials - JavaScript Demos - Java Applet Demos - Resources - Contact |
||
| Adding Flash Movies in SiteBuilder >>> |
The Code I created the Flash Animation below at Flashblaster before they converted to a pay-only service. If you check my Resources page, you'll find other sites that offer Flash for free or for a fee. If you create your own Flash movies, whether they be using Adobe Flash, Swish or Coffeecup Firestarter, or get one of the free or to-buy movies, the code you use to embed the movie on your page is the same. Just make sure the file you're using is not the editable file but the web-ready file with the extension of .swf Copy and paste this code into an Insert HTML element from the Elements Palette. <EMBED
src="files/YOURFLASH.swf"
WIDTH="XXX" HEIGHT="XXX"
TYPE="application/x-shockwave-flash"> XXX is the size of your movie in pixels and replace YOURFLASH with the name of your file. Resize the elements' height and width to match your movies' dimensions and place the element on the page where you want it to appear. Upload the .swf file to your files directory. You can do this in the offline Sitebuilder by clicking on Site in the toolbar above and then clicking on the Files tab to Import the file from your hard drive. Save the page. Publish the page. Publishing will upload the completed page and the file at the same time. Possible Adjustments The default background color is white in SiteBuilder. If your page background is black or another color and you want the movie's background to match, add this tag inside of the 1st line of the <EMBED> tag: BGCOLOR="#xxxxxx" where the xx's represent a hexadecimal color code. Check out this page at Webmonkey for a wide selection of color codes to choose from. Online Code Generator Homestead has provided a handy code generator. All you need to do is provide the name, the height, and the width of your Flash movie. The wizard will generate the embedding code for you to copy-and-paste into the Insert HTML element on your page. Here's the link: http://www.homestead.com/~site/ResourceCenter/AddFlash.ffhtml Note: If clicking the above link does not take you to the page directly, log into your account and make your way to the page instead. Just click on Resources, then HTML Tools to find the Flash Wizard after you log in. My FlashBlaster movie was created for my old Homestead site, Jay's Lab. So don't click on the double-arrows because it goes to an error page at Homestead. |
|
| Formerly hosted at www.geocities.com/ramblingtutor/ |
Home - Tips & Tutorials - JavaScript Demos - Java Demos - Resources - Contact Webpage graphics by Arride Graphics
|
|