1. Computing & Technology

Discuss in my forum

With all of the major tools of the Flash Oekaki/Paint Application out of the way, part IIX of the lesson series focuses on the layer functionality of the application. These layers give the user two canvases to draw on, essentially, one transparently laid on top of the other; they have the option to switch between drawing canvases, though they start by default on layer 0 (the bottom layer). The Clear Layer function lets you clear an entire layer at a time while leaving the contents of the other layer intact.

The best part of this is that it's done very simply, by duplicating all of the code created for the other tools and simply using the createEmptyMovieClip function to place the new drawings inside a different movie clip on a different layer. Flash checks to see which layer is active, and draws inside that movie clip.

Related:

  • Flash ActionScripting Beginner's Challenge: Basic Drawing Application (End Result)
  • Flash Oekaki/Paint Application ver.1.1
  • Comments
    No comments yet.  Leave a Comment
    Leave a Comment

    Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
    Related Searches paint application march 11

    ©2012 About.com. All rights reserved.

    A part of The New York Times Company.