Can someone please help with my code, cannot work out why this keeps falling over on one particular gif - Car.gif - have tried using the debugger
if you run open each icon in order, aeroplane, ball, boy and let the animation play other wise i get an illegalstateexception interval must be larger than zero, if opening and going back to back menu without letting the animation complete, any advice on how to handle this? such as handling exception to clear the interval after clicking back?
if you continue to car after boy, you get an arrayindexoutofboundsexception.
is this because of the number of frames or speed on this particular gif?
any help would be much appreciated, the code is quite messy as ive tried a few things to get this work including a few extra initializes!!
if anyone is able to crack this, can you also explain how you debugged this or at least what you watched with the debugger to work it out?
many thanks.
if you run open each icon in order, aeroplane, ball, boy and let the animation play other wise i get an illegalstateexception interval must be larger than zero, if opening and going back to back menu without letting the animation complete, any advice on how to handle this? such as handling exception to clear the interval after clicking back?
if you continue to car after boy, you get an arrayindexoutofboundsexception.
is this because of the number of frames or speed on this particular gif?
any help would be much appreciated, the code is quite messy as ive tried a few things to get this work including a few extra initializes!!
if anyone is able to crack this, can you also explain how you debugged this or at least what you watched with the debugger to work it out?
many thanks.