2 Comments


  1. Hey Joseph! How are you?

    I’m doing this course on Lynda.com but I’m with a problem! In this line:

    canvasData.encode(new Rectangle(verticalLayout.padding, verticalLayout.padding, canvasSprite.width, canvasSprite.height), new PNGEncoderOptions(), byteArray);

    I got this error:

    ReferenceError: Error #1065: Variable flash.display::PNGEncoderOptions is not defined.

    I’m using Flash Builder 4.6 + AIR 4. I searched on web and some people got this error, but I’m still with no answer! Can you help me? Do you have idea why this is happens?

    Thanks a lot!
    Leonardo


    1. Hi. Sorry for the late response; traveling out of state.

      I haven’t seen any issues like this, no. Are you sure you are importing it correctly?

Comments are closed.