While looking at the buttonimage bug, I noticed what looks like some redundant code in dynimage:
DynImage.getImage=function(src,w,h) { <snip> if (w&&h) DynImage.loadimages[i].img = new Image(w,h); else DynImage.loadimages[i].img = new Image(); <snip> }; Can't that simply be replaced with: DynImage.loadimages[i].img = new Image(w,h); If w+h are not passed to the function, they will be passed to the image as null values anyway. The idea seems to have been that BOTH parameters had to passed, not one or the other - would this matter? Also, DynImage.prototype.getImage = function (imgObject) { return this.img; }; the "imgObject" is a cut'n'paste error AFAIK, so I'll remove that. Cheers, Richard. www.richardinfo.com _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/