Drawing Widget

This is a drawing widget that I created in AS2 when I was first learning to use the Flash Drawing API. It uses relatively simple code which, when the mouse button is down, constantly checks the cursor position and draws a straight line from its previous position to the new. With a high enough frame rate (100 fps in this case) the individual straight lines are small enough to not be noticeable. The API makes it easy to adjust the properties of the line. In this widget I have added the possibility to adjust the thickness and colour of the lines but there are options to add blur, glow and drop shadow effects that can be used to create different types of line. I hope to soon upload some other work I created to demonstrate this.
The original version of this, that I created some years ago was, very plain with a white background and a black border to denote where to draw. I decided to update the visuals before uploading it. In PhotoShop and other image editing software, icons of real world objects such as pens and pencils are used to give an impression of their digital equivalents. For this widget I took that a step further by creating a desk with a sheet of paper to give a familiar context. The desk texture is by naveenvverma from deviant art. The Pencil icon is from the BasicSet icon set by Pixel Mixer and the eraser icon was from the MixedIcon set by simiographics. The paper was created in PhotoShop as a simple white box with a slightly warped drop shadow. The indented titles was created within Flash by adding a black knockout inner glow to the text.




Your comment...

Name Email - required, will not be published URL

Notify me of follow-up comments?

Please enter the word you see in the image below: