Hi everybody,
i created in ActonScript 2.0 this file .fla without file .as :
Code:
createEmptyMovieClip("Line",1);
Line.lineStyle(1,0x000000,100);
onMouseDown = function ()
{
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function ()
{ Line.lineTo(_xmouse, _ymouse);}
}
onMouseUp=function()
{
onMouseMove=null;
}
// clear the drawing
erase_mc.onRelease = function()
{
createEmptyMovieClip("Line", 1);
Line.lineStyle(1, 0x000000, 100);
Line.beginFill(0x000000, 100);
Line.moveTo(0, 0);
Line.moveTo(0, 180);
Line.moveTo(350, 180);
Line.moveTo(350, 0);
Line.moveTo(0, 0);
Line.endFill();
};
I want to decode my draw on MovieClip in a file jpg.
Is it possible ?
I looked for something in internet, but I found only codes for AS3
Thanks !