• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Uncaught ReferenceError: AdobeAn is not defined / HTML5 Document & GSAP

Engaged ,
May 22, 2018 May 22, 2018

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.

Views

3.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , May 22, 2018 May 22, 2018

Nevermind - I'm an idiot and was missing a parentheses in my code!

Votes

Translate

Translate
Engaged ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

LATEST

Nevermind - I'm an idiot and was missing a parentheses in my code!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines