as3 worker message issue - actionscript-3

I found this example on as3 worker: http://esdot.ca/site/2012/intro-to-as3-workers-part-2-image-processing
it works great on air 3.4 but with greater versions it stops working, no error, or message. how to fix this?
and are there other example on image prcessing working with newer APis.
regards

There is an issue with the WorkersAPI when ran on ADL (Android Debug Launcher)
Kindly check my recent post
AS3 using Workers

fount it, the air20 package does not debug on this installation, I linked the airglobal.swc to debug this version.
one more issue: when I'm init the worker outside of the main constructor... nothing happens. why? I found no information on this...

Related

Swagger UI Not Loading Sometimes

I'm using latest version of Swagger in my ASPNetCore 3.1 project and debugging on latest version of Chrome. When I try to enter swagger page it sometimes not loading and i see an empty page. It looks like totally random. It solves after I refresh the page.
I saw these errors on console.
GET https://localhost:44389/swagger/swagger-ui-bundle.js net::ERR_HTTP2_PROTOCOL_ERROR
index.html:95 Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload (index.html:95)
File in the error is random. Its sometimes a js file, sometimes a .css file. It changes.
If I publish this project on IIS and disable Http/2 support I never encounter this error.
Why?
You can try the following:
1.Check if all your controller methods have [http] tag. If they all do and still doesn't work go to step 2
2.In your configure function to ensure that you have app.UseStaticFiles(); If it still doesn't work go to step 3
3.Uninstall and reinstall swagger. If it doesn't work go to step 4 (Core Only)
4.If you are using Core Install Microsoft.AspNetCore.StaticFiles and reference it in your project.
I encountered the same problem, SwaggerUIBundle is not defined, and the problem is not on the web app that I'm developing but on my network. The problem was resolved after I switch to another network.

Adobe AIR After Build Issue

I created a Desktop AIR in Adobe Animate CC 2017 with AIR 23, when Test everything works, after Build in my pc everything works, when test to VirtualBox (Application with runtime embedded) it run but some features like buttons events and url events doesn't works, what is problem?
After review codes and test for many times i found correct issue, when a hidden runtime error occurred some related part doesn't works properly, I used try() catch() for handle errors and external video playback instead embedded, now build works on other computers without problem.

NativeScript Directions plugin using nativescript

I'm pretty new to app development scene and I am starting my journey with nativescript. For my first app I'm trying to implement a googlemaps api in my app.
But when i try to run the demo that's included with the plugin or try to implement it into my app, I keep getting the same error (the pictures below).
I've got no clue what the cause of it is and can't find any solution to it.
Has anyone had the same problem or can anyone clarify what the source of the problem is?
A sincere thank you in advance
Problem
I keep getting the following errors.
source of plugin
"https://github.com/EddyVerbruggen/nativescript-directions"
Seems like you haven't done a full build since adding the plugin, only livesynced changes. Try readding the platform folders and do a "tns run ios/android".

Blurred screenshots in chrome browser

Please refer to the link to see what kind of screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI .
Not sure what could be wrong here as the same code has been working for me on other machines. The only possibility that I see is an issue with the configuration on the machine but can't find what that issue is.
The same scripts when ran in IE, it renders the correct screenshot, so it could be a chrome specific issue. Have uninstalled & reinstalled chrome but still the same.
I am using Selenium 2.28.0 version.
Please let me know if anyone needs more inputs my issue. Any hint to resolve this would be really helpful.
Have posted the same question on sqa as well - https://sqa.stackexchange.com/questions/9535/blurred-screenshots-with-selenium-webdriver
Thanks
I'm seeing this problem too. Here's the method that takes the snapshot. The same code works on IE9 but produces the mirrored screenshot on Chrome.
def screenSnapshot(self):
try:
if self.__snapshot_dir:
self.__WD.get_screenshot_as_file(os.path.join(
self.__snapshot_dir,
"screenshot-{}.png".format(time.strftime("%Y%m%d-%H%M%S"))))
return(True)
except Exception as e:
print("Exception: {}".format(str(e)))
return(False)
I'm using a remote webdriver. The node is running Windows 7 Enterprise with Service Pack 1 installed.
Any other suggestions I could try? I have the latest Chrome driver too.

Facebook ActionScript 3 API not working in FlashDevelop

I am writing a little test program, and I have a problem regarding the ActionScript 3 Facebook API (Graph_API_Web_1_8_1.swc).
I am using FlashDevelop, and I correctly added the SWC file to the "lib" folder.
I also imported the Facebook API correctly in my class file (the auto-finish function of FD recognizes all code from there).
BUT, once I start compiling my code, I get the following error:
Error: Access of undefined property Facebook
for each line of code, that includes a Facebook call (such as Facebook.init(...), Facebook.login(...) and Facebook.logout(...)).
I added a screenshot of my FlashDevelop setup to clarify things:
This is even more mysterious to me, since the AIR application with the FacebookDesktop API is running without any errors.
How do I fix this problem?
This has happened to me several times. Don't waste your time looking into which ActionScript 3 SDK SWC version or Flex SDK you are using. It's just a weird bug. Instead, do the following.
Close FlashDevelop
Create a completely new project
Add the Facebook SWC to library
Then it should work. If not, reboot. It happened to me several times. I hope this helps.