AAAlaser
Laser Banner Applet!


Here is another rather easy applet to make. You can choose any image for this, and little or no preparation is required. If you want to use a frame , remember that it will be subject to the laser beam effect. You can, however use one without making a separate layer. No water in your image? Again, that's fine with this applet. 
 
Step #1
 
To begin, you will need to upload the LaserBanner.class file which you can find in the files section at Yahoo groups to your website.  To use the dimensions of the image you have chosen for your applet. I always try to make a note of it when making changes to the image, such as applying filters or sizing the image down.  That just makes things fall into easier for me.  You will find your own way of doing things that will be easier for you as well.
 

Step #2

Now that you have chosen your image, you are ready for the script part of the applet.
The changes you will need to make are in highlighted in red below. 
 
For webpages use
 
<CENTER><APPLET ccode=LaserBanner.class width=324 height=246><PARAM NAME="laser-type" VALUE="RAINBOW">
<PARAM NAME="laser-origin-region" VALUE="50,80,600,10">
<PARAM NAME="banner" VALUE="your website addy/your image name.jpg"><PARAM NAME="banner-bottom-os" VALUE="0"><PARAM NAME="link-enable" VALUE="1">
<PARAM NAME="laser-spot-color" VALUE="-1,-1,-1">
<PARAM NAME="laser-beam-color" VALUE="255,0,0">
<PARAM NAME="link-target-frame" VALUE="_top">
<PARAM NAME="banner-top-os" VALUE="0">
<PARAM NAME="bg-color" VALUE="0,51,102"><PARAM NAME="laser-y-step" VALUE="1"><PARAM NAME="laser-origin-x-pos" VALUE="190"><PARAM NAME="laser-origin-y-pos" VALUE="70"><PARAM NAME="thread-sleep" VALUE="10">
<PARAM NAME="banner-left-os" VALUE="0"><PARAM NAME="laser-beam-hue-increment" VALUE="0.005">
<PARAM NAME="banner-x-pos" VALUE="0"><PARAM NAME="link-url" VALUE=""><PARAM NAME="laser-origin-type" VALUE="RANDOM"><PARAM NAME="banner-right-os" VALUE="0"><PARAM NAME="laser-beam-spot-aspekt" VALUE="0.25"><PARAM NAME="laser-x-step" VALUE="1">
<PARAM NAME="banner-y-pos" VALUE="0"><PARAM NAME="sequence-sleep" VALUE="20"></APPLET></CENTER>
 
For stationery use
 
** Notice the difference between the two applet tags. 
You must use the codebase = in the applet tag for
the stationery or the applet will not work.
 
<CENTER><APPLET codeBase="your website addy/ " code=LaserBanner.class width=324 height=246><PARAM NAME="laser-type" VALUE="RAINBOW"><PARAM NAME="laser-origin-region" VALUE="50,80,600,10"><PARAM NAME="banner" VALUE="your website addy/your image name"><PARAM NAME="banner-bottom-os" VALUE="0"><PARAM NAME="link-enable" VALUE="1"><PARAM NAME="laser-spot-color" VALUE="-1,-1,-1"><PARAM NAME="laser-beam-color" VALUE="255,0,0"><PARAM NAME="link-target-frame" VALUE="_top"><PARAM NAME="banner-top-os" VALUE="0"><PARAM NAME="bg-color" VALUE="0,51,102"><PARAM NAME="laser-y-step" VALUE="1"><PARAM NAME="laser-origin-x-pos" VALUE="190"><PARAM NAME="laser-origin-y-pos" VALUE="70"><PARAM NAME="thread-sleep" VALUE="10"><PARAM NAME="banner-left-os" VALUE="0"><PARAM NAME="laser-beam-hue-increment" VALUE="0.005"><PARAM NAME="banner-x-pos" VALUE="0"><PARAM NAME="link-url" VALUE=""><PARAM NAME="laser-origin-type" VALUE="RANDOM"><PARAM NAME="banner-right-os" VALUE="0"><PARAM NAME="laser-beam-spot-aspekt" VALUE="0.25"><PARAM NAME="laser-x-step" VALUE="1"><PARAM NAME="banner-y-pos" VALUE="0"><PARAM NAME="sequence-sleep" VALUE="20"></APPLET></CENTER>
 
Other changes to the applet code can be made to change the effect.  A text document explaining those changes and how to make them is enclosed in the zip file with the class file at Yahoo Groups.
 
I hope this helps you get underway ...... can't wait to see what you come up
with......
Hugs,
Karen


The music was provided for us by, our fellow member,  NormaJean.
Beautiful Job, Norma. !  Thank you.


Copyright İFebruary, 2002 - All Rights Reserved.