Help! Picture Download Notification

How do I figure out when a picture has completed downloading?

I've been using the picture property of a layer to set it to an online picture URL from a script. While this works great, I need to get notification when it completed, failed etc. so that I can set states on the object, for transition fx.

Is there a way to set up a notification sub / function which receives updates on the download status of the picture? Perhaps something like:

Object_OnPictureDownload(bStatus)

Thanks,
Dhiraj.
2,353 views 0 replies