Now that you've downloaded the
zip file from your personal file folder (if you are a commercial
user) or from the applet test window (if you are a free user),
what do you do now?
Unpacking the applet
You must first unpack the downloaded zip-file using a software
such as Winzip (Windows users),
Stuffit expander (Mac
users) or similar (both software are shareware and freely
downloadable). If you get an error when unzipping the file,
make sure you have the latest version.
Adding Flash applets
The zip file will contain two files, one is the SWF file and
the other is the HTML file for the Flash applet. YOU NEED
BOTH FILES to make the Flash applet work. The HTML file contains
the crucial <OBJECT> and <EMBED> tags that you
MUST have to run the applets. They will look something like
this inside the file (these are the tags for verticalscroller):
<OBJECT
classid="clsid
:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com
/pub/shockwave
/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=200 HEIGHT=100> <PARAM NAME=movie VALUE="verticalscroller1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=opaque> <PARAM NAME=bgcolor VALUE=#ff0000> <EMBED src="verticalscroller1.swf" quality=high
wmode=opaque
bgcolor=#ff0000 WIDTH="200" HEIGHT="100" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave
/download/index.cgi
?P1_Prod_Version=ShockwaveFlash"> </EMBED> </OBJECT>
This sure looks complicated, but you don't need to worry
about this. The only thing you need to do is to copy this
text completely, and paste it into the web page that you want
to put the applet into (the HTML file).
IMPORTANT! COPY THE WHOLE TEXT BETWEEN THE <OBJECT>
TAGS.
Then you must put the SWF file into the same folder/directory
location as where you have your HTML file.
IMPORTANT! The SWF file MUST be where your HTML page with
these tags is located!
Now that you have copied the <OBJECT> AND <EMBED>
tags into your HTML page, you can throw away the HTML file
that went with the downloaded zip file.
Adding JavaScript effects
Downloading and putting JavaScript effects into your web
page follows the same procedure as the Flash applet. But with
the difference that the "Applet File" is the file
with the extension ".js". You also have a corresponding
HTML file included in the zip file. If the effect uses images
(like a Slide Show for instance), then they are also included.
Note that you must make sure that the folder structure is
preserved when you unpack the files, since the images may
be located in different subfolders on your personal file folder.
IMPORTANT! Make sure you unpack the JavaScript effects
zip file with a preserved folder structure!
The tags for the JavaScript effects, which you must put on
your page, also look different. They may look like this:
<SCRIPT language="JavaScript" SRC="jssnowfall1.js">
</SCRIPT>
This is the tag for the JSSnowFall effect, but the name can
be anything. Copy this text completely, and paste it into
the html file that you want to put the JavaScript effect into.
IMPORTANT! COPY THE WHOLE TEXT BETWEEN THE <SCRIPT>
TAGS.
Then you must put the JS file into the same folder/directory
location as where you have your HTML file. Don't forget to
upload the images that may have been included in the zip file.
IMPORTANT! The JS file MUST be where your HTML page with
these tags is located! Make sure to upload the images that
were included together with the effect.
|