as3 如何保存图片,我百度了几个试过都不行滴。
我想实现: 先用鼠标画个图 画图代码: createEmptyMovieClip("terrain",1); terrain.lineStyle(10,0xff00ff, 100); imdrawing = false; onMouseDown =function () { if (imdrawing == false) { terrain.moveTo(_xmouse, _ymouse); imdrawing = true; } if (imdrawing == true) { onEnterFrame = function () { terrain.lineTo(_xmouse, _ymouse); }; } }; onMouseUp =function () { onEnterFrame = function () { imdrawing = false; }; };
有个按钮,按了之后把刚画的图保存jpg到本地磁盘。 这个能实现么?
最近访问本帖者列表: | |||||||||||||||||||||||||||||||
佛山乌蝇脚
|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
佛山乌蝇脚
|
|
佛山乌蝇脚
|
|
佛山乌蝇脚
|
|
佛山乌蝇脚
|
|
佛山乌蝇脚
|
|