1 Reply Latest reply on Dec 19, 2016 3:45 PM by ClayUUID

    Deform, or Skew Image MovieClip using HTML5 code

    Marsman2500

      Does anyone know how to use code to deform, skew or transform a MovieClip containing an image (see image examples)?

      skew.jpgdeform.jpg

        • 1. Re: Deform, or Skew Image MovieClip using HTML5 code
          ClayUUID Adobe Community Professional

          Canvas mode can only do (in realtime) the transformations that the HTML canvas element natively supports.

          Transformations - Web APIs | MDN

           

          Even if you find a native transform that works for you, it's somewhat of a pain to use in Animate because you have to manually copy part of the stage to an offscreen canvas, transform it, then paste it back onto the main canvas.

           

          EDIT: To clarify, you can perform basic skewing via Animate's Transform window. But anything more complicated than what the UI allows will require the aforementioned coding.