Skip to main content
PATurmel12
Inspiring
November 27, 2019
Question

CSS component not working when updated to Animate 2020

  • November 27, 2019
  • 2 replies
  • 427 views

I have an FLA which uses the TextInput Component along with the CSS Component.

 

Since I updated to Animate 2020 I have not been able to publish / test this file.

 

Errors in Safari Web Inspector:

 

TypeError: undefined is not a function (near '...$.anwidget...')
(anonymous function) — css.js:3
Global Code — css.js:15                              //  components/ui/src/css.js

 

TypeError: undefined is not an object (evaluating 'new $.an.CSS')

This topic has been closed for replies.

2 replies

Participant
March 16, 2022

Yes this is still happening today in 2022 it seems to be an issue with the compiler and happens randomly I just need to re-build many times and eventually it will work. It is very annoying. It seemed to help to have it clear cash and build but it still does not solve the issue. It got much worse recently once I got my new M1 mac. 

dcastillo1
Participating Frequently
November 28, 2019

for me is working ,I don't get that error, BUT I am using the css component to load a font via font-face and is not longer working. Literally the very same project the font is not being used. I can see it gets loaded but not used