I'm trying to write a program in javascipt, but every time I'm trying to test my program, I get the error:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Uncaught TypeError: cjs.MovieClip is not a constructor
Uncaught TypeError: AdobeAn.getComposition is not a function
I tried to make a blank program with no code, but I still get this error.
I already tried to reinstall Animate and Adobe Cloud, and also restarting my PC, but nothing works.
Thanks for anyone who is willing to help.
It is perhaps because DNS of code.createjs.com (CDN server) is down.
I also catch this error 2, 3 hours ago.
I want to know when code.createjs.com will recover.
Does it work for you now?
Basically, I think we can't help waiting server recovery. But, there is work around.
[Work around solution]
Setting option of 'Hosted Libraries' off, Animate will make create.js library in local libs folder. This solution avoid access to code.createjs.com server.
It worked for me! Thanks a lot!
Awesome. This saved my day!
I have the same problem as you!
I have the same problem here. Been trying to get my previews work but im getting an error on this https://code.createjs.com/1.0.0/create.min.jsa. This just happened suddenly. All my working previews before are getting the same error now. Can someone assist please.
I run a test here and it works.
Maybe you're facing some kind of instability.
Can you confirm if this is working now?
Please let us know.
Well Chrome says that the site can't be reached, maybe this is related to my location?
I tried here in Brave, Chrome, and Safari and it worked in all of them.
Have you tried cleaning your cache?
Well I really cannot understand how you can have an access if it is in a DOWN status.
It is not problem of CDN server.
It may be problem of DNS. Browser seems to fail to resolve domain of code.createjs.com.
So, some people can access create.js but, other people can't.
And I think affected region is spreading. My all environemnts can't access code.createjs.com now, although some environemnt can access 3 hours ago.
What if you use a local copy of CreateJS?
Using local copy of createjs works well. I already have modified many published programs.
Let's stick with this method of using a local copy of CreateJS until access normalizes or someone from the Animate team speaks up.
I have the same problem as everyone else. I'm just wondering if there is another way or if you have to manually go and re-publish all the files all over again with a local copy? I have about 500 banners that stopped working this morning that my company had to pause, and to manually have to republish all of them requires a lot of work...
There is temporary work around solution. I have already solved this problem for over 500 creative.
-> this make libs/1.0.0/createjs.min.js.
2) Replace the following statement in all file to the statemnt which use local 'libs/1.0.0/createjs.min.js' file. It is easy if you use grep function of text editor.
* This is the example when all creative is in same foleder. if it is not, you must copy 'libs/1.0.0/createjs.min.js' to all folders.
* Old file may contain following code. If so, It needs slithly complicated solution...
Same problem here. My company is thinking to announce the media agency to stop all the HTML campaigns until further notice... Is not a solution to re-upload new banners with the new js URL...
Exactly. It would take many hours to manually do this, it is not a good solution at all even though it works in theory. We decided to pause every campaign when we discovered this problem, every banner that was live was just displayed as a white box, but still buying the ad space. I really hope that Adobe fixes this problem soon, otherwise I guess we just have to spend hours to manually edit every creative. It is also not optimal to host the JS local since this makes the file weigh a lot more.
There is a slightly older library hosted on Google (DoubleClick ad network) that still makes the simple animations work.
In the index.html the code
replace with this code:
Maybe that helps a bit.