Skip to main content
mhay77
Participating Frequently
July 12, 2020
Question

AdobeAn is not defined error when trying to test HTML5 document

When trying to test in my browser I'm getting a blank window and the following errors in my console:

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Legend
    July 12, 2020

    You really should be focusing your attention on that FIRST error, not the second one.

    Translate
    mhay77
    mhay77Author
    Participating Frequently
    July 13, 2020

    Right, thanks. I just realized that after posting. Sorry, I'm a newbie with Animate. At a high level I'm trying to create a test file using drag/drop. So I had this action script implemented and once I removed it, the file would test.  This is the very frist snippet of action script I was attempting to input. Any tips?

    starIcon.addEventListener(MouseEvent.MOUSE_DOWN, startMove); 
    function startMove(evt:MouseEvent):void {
    starIcon.startDrag();
    }
     
    starIcon.addEventListener(MouseEvent.MOUSE_UP, stopMove); 
    function stopMove(event:MouseEvent):void {
    starIcon.stopDrag();
    }

     

    Translate
    Legend
    July 13, 2020

    You know ActionScript code only works in ActionScript documents... yes?

    Translate