Copy link to clipboard
Copied
Anyone ever run into this console log error - " Uncaught ReferenceError: AdobeAn is not defined " when testing an HTML5 file??
I'm trying to include the GSAP library to do some animations. I changed my HTML template for publishing to include the line -
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js"></script>
Then I've written some code, all I have so far is -
var nextBtn = this.nextBtn;
var myShadow = nextBtn.shadow = new createjs.Shadow("#092C3F", 0, 7, 15);
var hover_tl = new TimelineMax();
function Hover(){
tl.to(nextBtn, 1, {scaleX: 1, scaleY: 1, ease:Quad.easeOut}
}
And when I test it in the browser (Google Chrome), my movieclip doesn't show up and I see the above error in the console log.
Never ran into this before and not sure what would be causing it. It seemed to happen after I added the hover variable and function.
Any help is appreciated, thanks.
Nevermind - I'm an idiot and was missing a parentheses in my code!
Copy link to clipboard
Copied
Nevermind - I'm an idiot and was missing a parentheses in my code!