• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

animated gifs

Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone ever encountered this problem? I am working on a game that uses animated gifs that I created with Animation Shop. I load the images and register them with a Media Tracker when the main class is initialized. Then I waitForAll() so that the program will not do anything until all images have been loaded.
My problem is that when I add some of these gifs, the program hangs and will not do anything. If I comment them out, the program returns to working normally. I am not getting any errors from the Media Tracker during loading. Some of the gifs work and some don't. I thought at first it may have something to do with the size of the gif, but it does not. I have some larger ones (200KB) that work, and smaller ones (150KB) that do work. Does anyone have any ideas on this? Your help is greatly appreciated!!!
My pie came with a little toothpic holding up this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic