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

Published application threads never return results #3

Closed
ghost opened this issue Jul 19, 2014 · 8 comments
Closed

Published application threads never return results #3

ghost opened this issue Jul 19, 2014 · 8 comments

Comments

@ghost
Copy link

ghost commented Jul 19, 2014

Hi Frédéric,
When I export an application using easyWorker it seems like threads are never responding. I don't know if they are ran or not, but I am sure that I never get the result. Try publishing https://github.com/riadvice/easyWorker-ActiveAIRCord/ with Flash Builder and run the application.

I used Adobe Scout but it seems like it does not handle workers.
Should I build the application using GradleFX or FlexMojos if it is a Flash Builder issue ? Normally they use the same Flex jar compiler.

Any idea ?

@doublefx
Copy link
Owner

Try the compiler option -optimize=false

@ghost
Copy link
Author

ghost commented Jul 19, 2014

That works fine after adding this compiler option. I remember it was always configured to false in my maven configuration. But what does the Flex Compiler "really" do when optimize is left to its true default value ?

@doublefx
Copy link
Owner

It does many things, one the the optimization is to merge all the ABCTags into one, which then make impossible for as3swf to find only the ones needed to create the worker

@ghost
Copy link
Author

ghost commented Jul 19, 2014

OK I will take a look at the compiler code to understand all the fun stuff it does.

@ghost ghost closed this as completed Jul 19, 2014
@doublefx
Copy link
Owner

Btw, if you still want to optimize your app, you can still use apparat but with -mergeABC=false

@ghost
Copy link
Author

ghost commented Jul 19, 2014

is mergeABC a hidden compiler option ?!! Is there any hidden options ?

@doublefx
Copy link
Owner

No I was talking about apparat, a tools which has a swf size reducer feature

@ghost
Copy link
Author

ghost commented Jul 19, 2014

Ah this one https://code.google.com/p/apparat/ I am discovering it

This issue was closed.
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