• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Slideshow that i created giving me problems!

 
Nitesh Panchal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Below is the code to start slideshow as soon as i start the html page but it's giving output as i expected. The function that's giving me problems is the checkID(int id) of MediaTracker class.
If i use the alternative version of checkID(int id,boolean load) it seems to work fine. But why? that i dont know. Please help me.


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither the getImage method call, nor the checkID(int) method call cause the image to be loaded, while checkID(int, true) *does* cause it to be loaded. This is explained in the javadocs of the various getImage and checkID methods.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic