|Blog Home | About | Entries By Date | Search|
Graffiti AS3 Bitmap Drawing Library
Sometimes it is required to develop some drawing functionality In our Flex/Flash application, in a very short span of time.
In this case it is very difficult to develop it from the ground up. At this time, you need something like "GraffitiCanvas AS3 library".
Developed by Ben Rhodes, GraffitiCanvas is an ...[contd..]
[contd..] ...excellent AS3 library that help you to include drawing routines into your Flex/Flash application.
As the developer put it "The Graffiti AS3 Bitmap Drawing Library is designed for ActionScript developers to easily integrate drawing functionality into a
Flash, Flex or Air project. It is free to use and modify for noncommercial projects.".
The latest version as of date is : version 2.5 for FlashPlayer 10+ (Download link : http://www.nocircleno.com/graffiti/source/graffiti_library_2.5.zip) and
version 1.1 for FlashPlayer 9.0 (Download link : http://www.nocircleno.com/graffiti/source/graffiti_library_1.1.zip)
Graffiti AS3 Drawing Library is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.
It is a wonderul library that helps you to not only create basic shapes, it also has advanced feature like zooming feature, blurring feature and different brush shapes.
The main tools available are for creating freehand objects, fill tool, rectangle, oval, line and text.
Alongwith the source codes and the related project files, there are also links to examples and tutorials that demonstrate the usage of the library.
Documentation is also available for the usage of the library.
Getting started with Version 2.5 : http://www.nocircleno.com/graffiti/tutorials/getting_started_2.5.html
Getting started with Version 1.1 : http://www.nocircleno.com/graffiti/tutorials/getting_started.html
Basic example : http://www.nocircleno.com/graffiti/examples/2.x/basic_demo.html
Simple text example : http://www.nocircleno.com/graffiti/examples/2.x/simple_text_demo.html
Advanced example : http://www.nocircleno.com/graffiti/examples/2.x/graffiti_advanced_demo.html
Documentation link :
Version 2.5 docs : http://www.nocircleno.com/graffiti/docs/2.5/
Version 1.1 docs : http://www.nocircleno.com/graffiti/docs/1.1/
In order to use it all you need to do is just include the package into your project, or use it as an external libary and link it to your project.
However, there is no sample files for integration in a Flex project.
So, if you want to include it in Flex, all you need to do is :
a> Include the source files to your project.
b> Create an instance of the "GraffitiCanvas" class.
c> Associate it to your necessary UI container.
Its that simple.
In case you need a running example, I have attached a sample project for your reference.
as3 library, graffiticanvas as3 bitmap drawing library, flex flash drawing actionscript library, drawing in flash, flex, ria - kolkata, adobe, ben rhodes, nocircleno, adobe, arunava basak
GraffitiCanvasSample.zip (35 Kb)