Need a try/catch, but IOErrorEvent does not seem to support...

I am loading a remote image using a charger and where the image is missing I want to replace the missing image with a placeholder image generic.  Normally, a try/catch construct would be perfect for this.  But with charger, he lifts an IOErrorEvent which then calls another function, and I'm then thrown out of the context of my original function, so I can't easily do what I have to do.

Any ideas on how to work around this problem?  I have trouble understanding why some classes use try/catch, while others throw error events.

Thank you!

you will need to use an ioerror event handler.

and the difference between your mistake and likely errors in try/catch is the difference between asynchronous and synchronous errors

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • My exceptions list is suddenly empty

    This morning, all that was in my exceptions list suddenly disappeared. This list has taken years to compile. Thank you Mozilla. Nothing special happened during the night that I simply put the computer to sleep until I did it.

  • IDE or sata

    I have a Compaq nc6220 laptop and want to know is the DVD, an ide or sata drive?

  • Install Windows 8.1 own

    Hello, I have a X 1 carbon 2014 supplied with licensed OEM Pro Windows 8.1. I have a clean to get rid of bloatware and partitioning scheme Lenovo installation. I have two questions: (1) where can I get the installation ISO official Microsoft disc? (2

  • Xperia Z2 startup message

    Hi all I encountered this problem (I don't know if I can call it a problem), with my Z2, when I turn it on, then next turn, or when you restart the phone, once it has finished up the boot sequence, it shows me in the middle of the screen a message sa

  • vbicviu jyhzco has stopped working

    When I restart my computer I got this message: "vbicviu jyhzco has stopped working" don't know what it means? below this message it is said that: a problem caused blocking the program works correctly. Windows will close the program and notify you if