image
image
Ticket Options
Question Profile
DATEJan 27, 1999
TICKET#146877
STATUSClosed
SUBJECT
CAT
TYPE
DESC
DESC
PLATFORM
MODEL
PROC
RAM
DRIVE
NAME
USERNAME
TECHNICAL
ISSUE
Question Details
TICKET ARCHIVE -> Java animation
No Wonder User - Jan 27, 1999 - 2:58 am
image
image
KNOWLEDGE LEVEL: Intermediate

PROBLEM: Software
COMPUTER TYPE: pc
MODEL: 300
RAM: Not related
OS VERSION: NT 4
SERVICE PACK:

DESCRIPTION:

I'm writing a Java animation program showing icons moving from one location to another. The way I animate the object is to calculate the object's position, then display it in every other interval (the interval time I used to create a smooth animation is about 60 milliseconds.)

The problem I'm having is that there's a a short pause in the animation every once in a while. And I believe the reason for that is because of Java's garbage collection. Am I correct? If so, how do I avoid that?

I'm new to animation, are there any good references on animation on the net or the bookstore?

Thanks,
Dave

No Wonder Tech - Jan 29, 1999 - 2:26 pm
image
image
hello dave,
Are u using the same icon for that animation, or does the browser reload to get a new image ? because than you could use a preload to avoid this.
for more info on animation go to www.hotwired.com

greetings

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0