A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Painting effect

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    12

    Painting effect

    I want to achieve painting effect in flash.

    There will be a brush attached to cursor and once I click&hold the mouse button while moving it on the canvas it will be painting a predetermined image, as if there is a mask covering an image and as I "delete" the mask, image underneath starts to appear.

    Any idea how I can develop such thing ?

  2. #2
    Senior Member
    Join Date
    Nov 2001
    Posts
    1,145
    Here's as2 painting tutorial: http://lift.co/flash/archive/mouse/05_paint/index.html

    Here's as3 tutorial for what you're trying to do?: http://jonathannicol.com/blog/2009/0...-mouse-in-as3/

    You should be able to look at the as3 reveal code and apply it to the as2 paint code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center