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

Can we still do Async? #66

Open
sfxworks opened this issue Jun 29, 2017 · 3 comments
Open

Can we still do Async? #66

sfxworks opened this issue Jun 29, 2017 · 3 comments

Comments

@sfxworks
Copy link

sfxworks commented Jun 29, 2017

Following this guide:

I do

	var md5:MD5 = new MD5();
	md5.addEventListener(ProcessEvent.COMPLETE, handleMd5HashComplete);
	md5.addEventListener(ProcessEvent.ERROR, handleMd5Error);
	md5.hashBytes(fileBA);

Yet I get

1061: Call to a possibly undefined method addEventListener through a reference with static type by.blooddy.crypto:MD5.
@perholmes
Copy link

I get that too, not finding many answers anywhere.

@alwinlubbers
Copy link

2 years later. I'm getting the same error, this time on the JPEGEncoder.
Call to a possibly undefined method addEventListener through a reference with static type by.blooddy.crypto.image:JPEGEncoder.

@sfxworks
Copy link
Author

@alwinlubbers if I remember correctly I ended up opting to use a Worker as a work around since I needed one for my software anyway.

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

3 participants