THE JAVA APPLETS ANY SERIOUS WEB DESIGNER SHOULD HAVE

 

MMFireImage Manual

Written by Anibal Wainstein

Copyright Mandomartis Software Company 1999, all rights reserved

 

INTRODUCTION

Burn up your pictures with this freeware applet. A fire effect will be applied to the old slide as a new one appear. The applet has the following features:

  • Images support descriptions and URLs. Multiple target frames are supported.
  • Images are loaded when needed and automatically resized to fit in the applet window.
  • You can specify the fire colors and the description text and background color.
  • Confirmed compatibility with Netscape versions 3.01 to 4.5 and Microsoft Internet Explorer versions 3.0 to 4.1 for Windows 95/98/NT4. Also compatible with Netscape versions 3.0, 4.05 and Internet Explorer versions 3.01 and 4.5 for Macintosh.

Before using this applet you must read the license agreement.

 

APPLET INFORMATION

Developer: Anibal Wainstein
Version: 1.1
Version date: 1999-08-29
Last update information: v1.1 : A serious bug regarding the vertical fire streak was fixed.

 

DEPENDENT FILES

The following file must be included with the applet in order for it to function properly:

mmfireimage.class

 

GENERAL PARAMETERS

This applet is configurable with normal HTML applet parameters. The first thing that must be done is to configure the applet main tags:

<APPLET CODE="mmfireimage.class" WIDTH=200 HEIGHT=200>
</APPLET>

As you can see, the size in the example is 200x200 pixels. You can change the dimensions to whatever size you wish. However, you take note that sometimes a big applet requires more processing power which may be hard for some computers. The following parameters may not be changed:

<PARAM name="mandomartis0" 
value="This is an applet from Anibal's Essential Applets package">
<PARAM name="mandomartis1" value="It was developed by Anibal Wainstein / Mandomartis">
<PARAM name="mandomartis2" value="Get it at http://www.mandomartis.com/essentialapplets/">

These are Mandomartis credits are are used to identify the applet. The following parameter controls the general frame delay in milliseconds, and thus the frames per second (FPS). The default value is 70:

<PARAM name="delay" value="70">

 

SETTING UP THE IMAGES WITH DESCRIPTIONS, URLS AND TARGET FRAMES

Write each image filename using the "image" parameter like this:

<PARAM name="image0" value="image0.jpg">
<PARAM name="image1" value="image1.gif"> <PARAM name="image2" value="image2.jpg">

Specify your first image in the parameter "image0", in "image1" you specify the second image and so on. Note that the only image formats supported are JPEG and GIF files. Do not use transparent GIF files in this applet. Also note that each image will be automatically resized to fit in the applet window.

The same system of adding images is applied for the descriptions which will appear at the bottom of the applet ("description"), the URLs ("url") and target frame name for each URL ("target") respectively:

<PARAM name="description0" value="This is image 0">
<PARAM name="description1" value="This is image 1">
<PARAM name="description2" value="This is image 2">
<PARAM name="url0" value="http://www.mandomartis.com/essentialapplets/">
<PARAM name="url1" value="http://www.mandomartis.com/"> <PARAM name="url2" value="http://www.mandomartis.com/">
<PARAM name="target0" value="_top">
<PARAM name="target1" value="_top"> <PARAM name="target2" value="_top">

Now the content of "description0" will be displayed when you move the mouse pointer across the applet area. If you click on the applet area then the applet will jump to the URL that you have specified for that message. Note the "http://" and the host on each URL. You MUST specify full URLs. Relative URLs will not work with this applet. If a target frame name has been specified then the URL will be invoked on that specific frame. The values "_top", "_self", "_left" and so on, are standard built-in HTML target frames.

 

SELECTING COLORS

The "decriptiontextcolor" and "descriptionbackgroundcolor" are the color that the description text and it's background color will have.

<PARAM name="descriptiontextcolor" value="00ff00">
<PARAM name="descriptionbackgroundcolor" value="000000">

Use the "firecolor0" and "firecolor1" parameters to set the color for the fire. The first parameter is for the inner fire color and the second for the outer color:

<PARAM name="firecolor0" value="ffaf2f">
<PARAM name="firecolor1" value="ff0f00">

 

OTHER PARAMETERS

The "sleeptime" parameter affects the pause before next image appears, you specify the value in milliseconds:

<PARAM name="sleeptime" value="2000">

Use the "step" parameter to increase the rolloff speed:

<PARAM name="step" value="3">

The "firestrength" parameter will affect the consistency of the fire (number of fire particles). Make sure this value is not set too high:

<PARAM name="firestrength" value="5">

The "firespeedx" and "firespeedy" parameters will increase the fire movement speed:

<PARAM name="firespeedx" value="3">
<PARAM name="firespeedy" value="3">

Use the "fireduration" parameter to adjust the length of the flames:

<PARAM name="fireduration" value="90">


EXAMPLE OF A FULL CONFIGURATION

The following HTML text is an example of an applet configuration:

<APPLET CODE="mmfireimage.class" WIDTH=180 HEIGHT=180>
<PARAM name="mandomartis0" value="This is an applet from Anibal's Essential Applets package">
<PARAM name="mandomartis1" value="It was developed by Anibal Wainstein / Mandomartis">
<PARAM name="mandomartis2" value="Get it at http://www.mandomartis.com/essentialapplets/">
<PARAM name="delay" value="70">
<PARAM name="sleeptime" value="2000">
<PARAM name="descriptiontextcolor" value="ffff00">
<PARAM name="descriptionbackgroundcolor" value="000000">
<PARAM name="firecolor0" value="ffaf2f">
<PARAM name="firecolor1" value="ff0f00">
<PARAM name="step" value="3">
<PARAM name="firestrength" value="3">
<PARAM name="firespeedx" value="4">
<PARAM name="firespeedy" value="7">
<PARAM name="fireduration" value="40">
<PARAM name="image0" value="mandom0.jpg">
<PARAM name="image1" value="mandom1.jpg">
<PARAM name="description0" value="Pointing at image no 1">
<PARAM name="description1" value="Pointing at image no 2">
<PARAM name="url0" value="http://www.mandomartis.a.se/essentialapplets/clickpage.html">
<PARAM name="url1" value="http://www.mandomartis.a.se/essentialapplets/clickpage.html">
<PARAM name="target0" value="_top">
<PARAM name="target1" value="_top">
</APPLET>



© Copyright 1999 Mandomartis Software Company