import flash.net.FileReference;
var fileRef:FileReference = new FileReference();
save_btn.addEventListener(MouseEvent.MOUSE_DOWN ,saveTxt);
function saveTxt(ev:MouseEvent)
{
fileRef.save(in_txt.text,"wenben.txt");
}
欢迎光临 应用思考-教育技术论坛 (http://etthink.com/) | Powered by Discuz! X3.4 |