JAD
02-09-2008, 07:24 PM
Well I'm just starting to work with "back buffers" and my first attempt got an error while the script is running for some reason (the script compiles though). If I take this:
monsterBackg = blob.getGraphics();
out of the script, it works fine. But I'm trying to make a backbuffer so I kind of need that :p
Anyways, it's a problem with the getGraphics(); method:
exception: java.lang.UnsupportedOperationException: getGraphics() not valid for images created with createImage(producer).
The image blob was called properly above like so too:
blob = getImage(getDocumentBase(), "alien.gif");
Any ideas?
Thanks!
~JAD
monsterBackg = blob.getGraphics();
out of the script, it works fine. But I'm trying to make a backbuffer so I kind of need that :p
Anyways, it's a problem with the getGraphics(); method:
exception: java.lang.UnsupportedOperationException: getGraphics() not valid for images created with createImage(producer).
The image blob was called properly above like so too:
blob = getImage(getDocumentBase(), "alien.gif");
Any ideas?
Thanks!
~JAD