3 Replies Latest reply on May 22, 2017 10:17 PM by hagenh47357608

    Why is my mask undefined?


      Hello Folks,


      i have a short question for which i didn't found an answer in the web.

      I have a mask on my stage and i want to animate it with JS.

      To get my mask in a object i wrote the following line of code: var mask = this.graphic_mc.mask_mc.

      When i now try to manipulate my mask i get the error TypeError: mask is undefined.


      Why is my var mask = this.graphic_mc.mask_mc undefined?