Skip to main content
Participating Frequently
February 17, 2021
Question

Compiler Error 1151: A conflict exists with definition _this in namespace internal

  • February 17, 2021
  • 1 reply
  • 2886 views

I am doing an interactive animation project in school using Adobe Animate. Everything works when I test it out (Ctrl + Enter), but when I export movie, I get a bunch of compiler errors saying what's in the subject line. I will attach a screenshot of the compiler error window and the actions tab of one of the frames that is referred in the list. All of the actions use the same code that was brought by the wizard.

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    February 17, 2021

    Hi.

     

    You're using JavaScript in an AS3 document.

     

    Go to File > Convert To > HTML5 Canvas.

     

    All the code will be commented out so just uncomment it.

     

    Regards,

    JC

    bass3922Author
    Participating Frequently
    February 17, 2021

    It already is an HTML5 canvas. The filename in the screenshot above the stage shows a little bit of that.

    kglad
    Community Expert
    Community Expert
    February 19, 2021

    So the link of the animation you posted worked fine the first time I clicked on it, but every other time after that, the song that plays at the beginning wouldn't play anymore, yet every other sound clip and song that I added to it played just fine. The buttons also work fine as well.


    you probably need to clear your cached files.

     

    anyway, is everything working on your end?