Unofficial Tips and Tutorials for Homestead SiteBuilder� Users  
Firework Applet
by David O'Brien

 

This is a rather simple applet and in that simplicity, elegant.

You can grab the required .class, .java, and .au files from 1Archive.com. David apparently does not have his own website. At 1Archive, look under Java -> Gimmicks -> Firework.

The applet code configured for use with SiteBuilder is below.  Copy-and-paste the code into the Insert HTML element. Remember: Do not view page source. This demo is tailored for use at GeoCities in a generic format. If you are not a Homestead/ Sitebuilder user, you can use the applet code on this demo page as is.

I've left the configurable PARAM values as is, but you're free to change them around to suit yourself.

Be sure to upload or FTP the firework.class, firework.java, rocket.class, and fire.au files to your site's Files directory or folder. The .java file allows the applet to work with older browsers.

<APPLET CODE="Firework.class" CODEBASE="files/" WIDTH="430" HEIGHT="340">
<PARAM NAME="AnimationSpeed" VALUE="5">
<PARAM NAME="RocketSoundtrack" VALUE="files/fire.au">
<PARAM NAME="RocketStyleVariability" VALUE="20">
<PARAM NAME="MaxRocketNumber" VALUE="9">
<PARAM NAME="MaxRocketExplosionEnergy" VALUE="800">
<PARAM NAME="MaxRocketPatchNumber" VALUE="80">
<PARAM NAME="MaxRocketPatchLength" VALUE="70">
<PARAM NAME="Gravity" VALUE="400">
</APPLET>

Click window close to return to the Applets Index page

Home - Tips & Tutorials - JavaScript Demos - Java Applet Demos - Resources - Search - Contact
Webpage graphics by Arride Graphics

Copyright � 2000-2006 The Rambling Tutor and JanetS  All Rights Reserved
All other copyrights belong to their respective owners as noted.

Hosted by www.Geocities.ws

1