Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch SecurityErrorEvent.SECURITY_ERROR #10

Open
maximgavrilov opened this issue Apr 25, 2018 · 0 comments
Open

Catch SecurityErrorEvent.SECURITY_ERROR #10

maximgavrilov opened this issue Apr 25, 2018 · 0 comments

Comments

@maximgavrilov
Copy link

Loader can raise not only IOErrorEvent.IO_ERROR, but also SecurityErrorEvent.SECURITY_ERROR. It should be caught the same way as IOErrorEvent.

loader.addEventListener(IOErrorEvent.IO_ERROR, onLoadFail);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant