Rated WebApplet by JARS

Animator

-- AdWare(F2.5) and Shareware(V1.2)--

Last Updated:

   10/9/1996 - Added Cross-Frame Page opening capability
   9/17/1996 - Added Functions available for Live-Connect  

Price info of shareware version is available.

Running Applet is demonstrated below - Scroll to See!!


This applet was recommended by PC Computing Aug/1996 Issue




Running applets:

(It may take a while to load...)



    AnimationMode=1 and SoundMode = 0
         Always animated and Sound is 
         played when mousr cursor is over
      On_click is disabled
      
    AnimationMode=1 and SoundMode = 1
      Animated when mouse cursor 
      over and Sound is played when click
      On_click is disabled
(Shareware)
      
    AnimationMode=2 and SoundMode = 0
      Animated once at each click and 
      Sound is played when mousr cursor is over
      On_click is disabled   
(Shareware)      
      
    AnimationMode=3 and SoundMode = 2
      Switch one frame at each click and 
      Sound is played when click
      On_click is disabled  
      The beautiful pictures above
      are from Mark's screen savers       
(Shareware)      
      
SoundApplet:    AnimationMode=4 and SoundMode = 0
      Always animated except mouse cursor within 
      and Sound is played when mousr cursor is over
      On_click is disabled  
      The beautiful pictures above
      are from Mark's screen savers       
(Shareware)      
      




VERY COOL: Applets work with Javascript!!






Description:

 
Animator is an appelt written by Mark Qian. It displays an user-specified
animated image with sound.  It plays a user-specified sound(an au file) 
in an user-specified mode. It also provides a on_click
function to open a given URL address.  In additional, it allows you display a
message in the status bar when mouse cursor move over the applet. 
 

NOTE:      Both AdWare(FREE) and Shareware versions are 
           available. The parameters marked with (share) are only 
           available in shareware version.  
           Price and registration infor of shareware is available.                               
           
IMPORTANT:
*********  You have to make sure the Adware version (FREE) 
           works fine in your server before you register the 
           shareware version because you are buying a Code.
           That is, after you register the shareware (pay fee)
           only thing you will recieve is a Code which can be
           used to unzip the shareware package.  The Code is
           NOT refundable, NOT returnable, and NOT exchangable.
           Don't register the shareware if you are NOT sure

               - It REALLY WORK in your server
               - You REALLY like to use the shareware.
     




Parameters:

target - target window where the target URL will be opened. You can set it to a sub frame if you use frames so that the URL is opened in the sub frame. You can also set it to one of following _top Bowser will place URL page into top-level window of the browser _parent Bowser will place URL page into parent window of the widnow where HTML resides _self Bowser will place URL page into the widnow where HTML resides _blank Bowser will place URL page into a new window speed - the speed of animation. soundmode =0 Sound is played when mouse cursor over Animator; =1 Sound is played when clicking; =2 Sound is played when mouse cursor over Animator and stop when mouse cuusor exits; whichBase - 0 the applet uses DocumentBase. That is, applet will search resouces from the directory where HTML file resides 1 applet uses CodeBase. That is, applet will search resouces from the directory where Java class files resides. animatemode=0 Animation is always on; =1 Animation is on only when mouse cursor moves over it; (share) (This mode allows you increase the performance of your system.) =2 Animation is on only when it is clicked and the animation will be played only once.(This mode is useful when you try to show some action such as opening a door. (share) =3 A mouse click only cause Animator to switch frame once. (This mode is useful when you try to illustrate a series of pictures.) (share) =4 Animation is always on except mouse cursor within Animator; (share) imgname - the names of image files including their paths. For example, if you like to place image file named myimage_1.gif, myimage_2.gif, ..., myimage_n.gif in a directory named images, you need to assign a following value to imgname: value=images/myimage_ nimgs - number of images used for animation. audiofile - the audio file that should reside in the directory where the applet resides. on_click - an URL address whose content will be opened by browser when clicking at the applet. Just set it to "" to disable it. borderWidth - The bevelwidth of left and right edges(in pixel). Set to 0 if you don't like to have a border. borderHeight - The bevelwidth of top and bottom edges(in pixel)




Here are more exciting Stuff! Don't miss them!!!





Here are some Cool frames for animation!!





You are welcome to ADD your URL to Mark's Page:
if you have any Mark's applet running in your page.

This is a great place to make your site popular: most visitors of this site are webmasters who are in charge of adding links!!





Detail Instructions for installation:

                                             
   1).  
         
or

What if downloading fails using the button above?

In this case, Go to Author's FTP Page directly to download them there! Please Send us a message if you encounter difficulty with downloading so that we can solve the problem shortly.
2). Unzip animator.zip in a temperary directory, say c:\tmp_Anim, in your local machine 3). Run setup.bat to rename class files. Because PKUNZIP will extract the class file, animator.class, to ANIMATOR.CLA, you have to RENAME the class file to animator.class if you prefer to rename them menually. Similarly, rename ANLOAD.CLA to anload.class and rename COMMON.CLA to common.class At this time, you should have following files in c:\tmp_Anim animator.class common.class HAIR1.GIF HAIR2.GIF HAIR3.GIF HAIR4.GIF HAIR5.GIF HAIR6.GIF HAIR7.GIF HAIR8.GIF HAIR9.GIF HAIR10.GIF HAIR11.GIF HAIR12.GIF HAIR13.GIF HAIR14.GIF HAIR15.GIF EMAIL.AU anload.class README.TXT TEST_ANI.HTM 4). Open TEST_ANI.HTM with your browser locally. If it works locally, go to next step. Otherwise, go to step B) below. 5). Try TEST_ANI.HTM online. - place animator.class and load.class in your HTML directory, say public_html, in your server. (FTP program may change animator.class to animator.cla. Rename class files as needed).

VERY IMPORTANT !!!

Be sure that you set the file format to BINARY when you FTP class files while set file format to ASCII or TEXT when you FTP html files - place TEST_ANI.HTM, HAIR*.GIF, and EMAIL.AU to public_html - change access attributes of all the files above to readable using following Unix commands chmod 744 ~/public_html/animator.class chmod 744 ~/public_html/anload.class chmod 744 ~/public_html/TEST_ANI.HTM chmod 744 ~/public_html/EMAIL.AU chmod 744 ~/public_html/HAIR*.GIF - Browse the TEST_ANI.HTM in your server from your local machine remotely. If it works, go to next step. Otherwise, go to step B) below. 6). Use your stuff in TEST_ANI.HTM. Replace following part of TEST_ANI.HTM <param name=audiofile value="EMAIL.AU"> <param name=on_click value="/html/home11_p.htm"> <param name=imgname value="HAIR"> with your stuff, say <param name=audiofile value="YOURS.AU"> <param name=on_click value="http://.../YOURS.HTM"> <param name=imgname value="YOURS"> where YOURS.AU - your audio file http://.../YOURS.HTM - the URL you like to open when images are clicked YOURS - pre-fix of your image names. That is, your image files should be YOURS1.GIF, YOURS2.GIF, ..., YOURSn.GIF (You can place any number of images amd URLs based on your need Note: don't forget to change parameter nimgs to match the number of your images). You can use shareware such as PaintShop to edit your own gif images. You may want to edit your own AU files using shareware like COOLEDIT. Be sure that you try the minimum quality first: Mono, 8 bit, 8000Khz Sample rate. You can also convert a MIDI file to AU using CSound in order to play it with this applet. If it works, go to next step. Otherwise, go to step B) below. 7). Insert the applet to your page, say YOURS.HTM. Copy-paste following part of TEST_ANI.HTM to the place you want in YOURS.HTM <applet code="animator.class" width=60 height=50> <param name=speed value="9"> <param name=borderWidth value="3"> <param name=borderHeight value="3"> <param name=soundmode value="2"> <param name=RegistrationCode value="f2.0-5784957"> <param name=animatemode value="0"> <param name=nimgs value="15"> <param name=audiofile value="YOURS.AU"> <param name=on_click value="http://.../YOURS.HTM"> <param name=imgname value="YOURS"> </applet> Browse YOURS.HTM in your server. If it works, go to next step. Otherwise, go to step B) below. 8). Place resource files to a sub-directory, say resource, using following Unix commands: mkdir ~/public_html/resource chmod 755 ~/public_html/resource mv ~/public_html/YOURS.AU ~/public_html/resource mv ~/public_html/YOURS*.GIF ~/public_html/resource Change the corresponding reference in YOURS.HTM to match your change: <param name=audiofile value="resource/YOURS.AU"> <param name=imgname value="resource/YOURS"> Browse the page in your server. If it works, go to next step. Otherwise, go to step B) below. 9). Congraduation!! Do Mark a favor: let him know you did it!! Enjoy it !! (Don't forget to BOOKMARK this page so that you can update it shortly: Animator will be upgraded frequently). B). Contact Mark Qian. Please describe - which step you have reached - the errors you get in details(If you use Netscape, click at menu item Option | Show Java Console and copy-paste-EMAIL the content there to Mark). - If you have rearched step 5 or later, run following Unix commands to save access attribute infor into a file, say tttt cd ~/public_html ls -l animator.class > tttt ls -l HAIR*.* >> tttt ls -l anload.class >> tttt ls -l EMAIL.AU >> tttt ls -l TEST_ANI.HTM >> tttt Then, EMAIL file tttt to Mark Qian so that he can ensure if all the file attributes are setup OK.







More Applets are available.



To learn how to place a Java applet into your page, 
please go to this page and select "How to Add Java Applet to Your Site"
at the bottom of the page.