sir i have a problem. i draw a picture using flash action script. but i want
to save this as an image on a button click
var brush=5;
_root.createEmptyMovieClip("line",1);
//line.lineStyle(5,myColour,100);
line.lineStyle(brush,0x000000,100);
_root.onMouseDown = function ()
{
line.moveTo(_xmouse, _ymouse);
_root.onMouseMove = function ()
{ if ((_xmouse<550&&_ymouse<350)&&(_xmouse>0&&_ymouse>0)) {
line.lineTo(_xmouse, _ymouse);
}}
}
_root.onMouseUp=function()
{
_root.onMouseMove=null;
}
---------------------------------
Yahoo! Photos NEW, now offering a quality print service from just 8p a photo.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders