[4472] in java-interest

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

Re: image load

daemon@ATHENA.MIT.EDU (Ahmed Abd El-Hady)
Mon Jan 1 09:47:11 1996

Date: Sun, 01 Jan 1995 15:05:09 -0700
From: Ahmed Abd El-Hady <ahady@idsc.gov.eg>
To: Jim McHale <jmh@sigmar.artdirect.com>
Cc: java-interest@java.sun.com

Jim McHale wrote:
> 
>   For those who responded to my "Applet can't start: applet not
>  initialized" thanks, 2.0b4 solved that problem. Now on to the
>  next!
> 
>      <applet code="Animator.class" width=200 height=200>
>      <param name=imagesource value="../frames">
>      <param name=endimage value=15>
>      <param name=pause value=200>
>      </applet>
> 
>    I have 15 gifs titled line1.gif...line15.gif sitting
> in the frames directory. When I run the applet in 2.0b4
> everything fires correctly but the images don't load,
> thus the message: "Couldn't load image an image".
> 
>     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

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