all groups > flash actionscript > december 2006 >
You're in the

flash actionscript

group:

Draw on a SWF


Draw on a SWF Animationman24
12/1/2006 7:25:46 PM
flash actionscript:
Hey guys

i am trying to make a SWF file so that one can select a pen tool and start
drawing on the swf file. Does anybody have an idea how can i do that I dont
mind scripting anuthing if that can make it work. Any input is appreciated.

thanks all.
Re: Draw on a SWF MotionMaker
12/1/2006 8:45:56 PM
I am sure there are examples out there but you can do it. In general a movie
clip will become the drawing icon if you want. Using the startDrag and stopDrag
methods, onRelease and onPress event handlers are needed. Finally you use
drawing API methods such as beginFill and lineStyle along with the onMouseMove
and _xmouse and _ymouse properties.
Re: Draw on a SWF Animationman24
12/12/2006 10:22:06 PM
AddThis Social Bookmark Button