[4477] in java-interest

home help back first fref pref prev next nref lref last post

Re: image load

daemon@ATHENA.MIT.EDU (kha shoong)
Mon Jan 1 20:52:42 1996

Date: Tue, 02 Jan 1996 11:41:32 +1000
From: kha@austin.unimelb.edu.au (kha shoong)
To: Ahmed Abd El-Hady <ahady@idsc.gov.eg>,
        Jim McHale <jmh@sigmar.artdirect.com>
Cc: java-interest@java.sun.com

At 03:05 PM 1/1/95 -0700, Ahmed Abd El-Hady wrote:
>Jim McHale wrote:
>> 
>>     When I use the appletviewer, the window opens and
>> the same message appears. At the command line:
>>       status: applet loaded
>>       status: applet initialized
>>       status: applet started
>>       Animator: Couldn't load image an image
>>       (Animator is the name of my html file)
>> 
>>       <applet code="Animator.class" width=200 height=200>
>>       <param name=imagesource value="../frames">
>>       <param name=startimage value=1>
>>       <param name=endimage value=15>
>>       <parm namepattern value="../frames/line1.gif">
>>       <param name=pause value=200>
>>       </applet>
>> 
>>    Here is another example of the *many* ways I have tried to
>> make this work but with the same results.  I have been using
>> the directions at http://java.sun.com/applets/applets/Animator
>> 
>>    Once again, thanks for all help and Happy New Year!
>> 
>>   Jim
>> -
>> This message was sent to the java-interest mailing list
>> Info: send 'help' to java-interest-request@java.sun.com
>
>Hello, 
>Have You tried renaming the image name to t1.gif .. t15.gif, I 
>think this would solve your problem.
>
>Ahmed
>-
>This message was sent to the java-interest mailing list
>Info: send 'help' to java-interest-request@java.sun.com
>
>

hi Jim

By default the Animator.class takes in T1.gif, T2.gif,...T15.gif.

But you can specify you own image files by using

      <param namepattern value="line%N.gif">

Good Luck


kha
 
****************************************************************************
  .--._/\  Ex-Medic                * Phan Kha Shoong
 /       | 6th Field Ambulance     * Medical Scientist
 \_.--._/  Medical Corp.           * Austin Hospital
       v   1991-1994               * Centre for Positron Emission Tomography
"How good bad music and bad reason * Cyclotron/RadioPharmaceutical Team
 sound when we march against our   * Heidelberg, Melb., Aust.
 Enemy." Friedrich Nietzsche       * 
 ***************************************************************************

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post