Skip to main content
Participant
May 5, 2020
Question

JavaScript error "Uncaught TypeError: this._renderFirstFrame is not a function"

  • May 5, 2020
  • 3 replies
  • 3233 views

Hi! I've been tasked with making basic HTML5 ads in Animate CC that will be placed in StackAdapt (a social media manager). I animated, added a click tag / button, as well as actions, and my export seemed successful. But when I added it to StackAdapt, I got the error:

"Uncaught TypeError: this._renderFirstFrame is not a function"

 

I see that line of code in the JS published file, but I have no idea what to do in Animate to fix the problem. In case its important, I'm running Catalina and Animate 20.0.3. I've also reached out to StackAdapt, but not sure they can help. Does anyone know how I can fix this? Thank you in advance 🙂

This topic has been closed for replies.

3 replies

Participant
July 31, 2020

I had the same problem, It happened to be that I was using an older version of the CreateJS library, pointing to the latest cdn or downloading the last js available should do the trick.

Or maybe it was not included in your html in the first place?

Participant
July 11, 2020

Hi Megataqua,

did you solve the problem? I´ve got the same message and can´t find a soluton 😞 Can you help me? Thank you very much!!!

kglad
Community Expert
Community Expert
July 11, 2020

metataqua appears to have an extraneous curly bracket at line 796.

Participant
July 12, 2020

Hi kglad,

thanx for your answer. I can´t find such an error in my code, but I solved the problem by installing an older version of animate cc and then it runs 🙂

kglad
Community Expert
Community Expert
May 6, 2020

before adding anything to or from stackadapt, is there an error in your browser's developer console?

 

if so, you probably have a mismatched parenthesis, curly bracket or something similar.  check the code just prior to the error.

Meg@AquaAuthor
Participant
May 6, 2020

Thank you for responding! I'm new to Animate, so I'm sorry if this is something simple. Animate Output read this after Publishing, and I don't know what it means (particularly the first part):

 

 

When I opened the JS file in Dreamweaver, this section was marked with errors, but again I don't know what it's asking me to do:

 

Thank you for your help!!!