Yep indeedy, at least on Mac OS X Leopard, when you create an image, that image's width and height methods return zero. I have no idea if this is a timing thing (ie, if I wait a moment, will they magically have size) or a scope thing, but surely a frustrating thing! It would be really lovely if the object constructor method doodads don't return until the objects are fully loaded and ready to fulfil their duties, or at least provide an synchronous option (I can imagine times when remotely loading images you mightn't want it to wait?)

Reply via email to