1 decade ago by devhyfes
Hi,
How do callbacks work on the ig.Image? I am creating an Image subclass that takes a couple of images then uses their drawTile method to create a new image. In order for that to work, it needs to know that the images have loaded prior to using them.
Is there a callback from ig.Images, similar to the onload function for the regular Image object?
How do callbacks work on the ig.Image? I am creating an Image subclass that takes a couple of images then uses their drawTile method to create a new image. In order for that to work, it needs to know that the images have loaded prior to using them.
Is there a callback from ig.Images, similar to the onload function for the regular Image object?